mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Update pihole.yml
This commit is contained in:
parent
f3074ca87a
commit
c9a07843d6
5
.github/workflows/pihole.yml
vendored
5
.github/workflows/pihole.yml
vendored
@ -32,12 +32,9 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: get latest version
|
||||
run: export VERSION=$(curl --silent "https://api.github.com/repos/pi-hole/docker-pi-hole/releases/latest" | jq -r '.["tag_name"]')
|
||||
|
||||
- name: docker check
|
||||
run: docker pull boostchicken/pihole:$VERSION
|
||||
-
|
||||
name: build pihole
|
||||
run: docker buildx build --platform=linux/amd64,linux/arm64 --build-arg VERSION=$VERSION run-pihole -t boostchicken/pihole:latest -t boostchicken:/pihole:$VERSION --push
|
||||
run: docker buildx build --platform=linux/amd64,linux/arm64 --build-arg VERSION=$(curl --silent "https://api.github.com/repos/pi-hole/docker-pi-hole/releases/latest" | jq -r '.["tag_name"]') run-pihole -t boostchicken/pihole:latest -t boostchicken:/pihole:$(curl --silent "https://api.github.com/repos/pi-hole/docker-pi-hole/releases/latest" | jq -r '.["tag_name"]') --push
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user