mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Update pihole-dote.yml
This commit is contained in:
parent
93db968f3d
commit
20493f421f
8
.github/workflows/pihole-dote.yml
vendored
8
.github/workflows/pihole-dote.yml
vendored
@ -9,11 +9,17 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- run-pihole/DoTE.Dockerfile
|
- run-pihole/DoTE.Dockerfile
|
||||||
|
schedule:
|
||||||
|
- cron: "* 12 */14 * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildx:
|
buildx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set the version
|
||||||
|
id: set_version
|
||||||
|
run: |
|
||||||
|
echo VERSION=$(curl --silent "https://api.github.com/repos/pi-hole/docker-pi-hole/releases/latest" | jq -r '.["tag_name"]')>> $GITHUB_ENV
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -32,4 +38,4 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: build pihole dote
|
name: build pihole dote
|
||||||
run: docker buildx build --platform=linux/amd64,linux/arm64 run-pihole -f run-pihole/DoTE.Dockerfile -t boostchicken/pihole-dote:latest --push
|
run: docker buildx build --platform=linux/amd64,linux/arm64 --build-args VERSION=${{ env.VERSION }} run-pihole -f run-pihole/DoTE.Dockerfile -t boostchicken/pihole-dote:latest -t boostchicken/pihole-dote:${{ env.VERSION }} --push
|
||||||
|
Loading…
Reference in New Issue
Block a user