Temporary commit to (potentially!) fix failing nightly builds

This commit is contained in:
Adam Warner 2022-07-24 00:09:23 +01:00
parent 7e69551be1
commit 4f5330f8f0
No known key found for this signature in database
GPG Key ID: 872950F3ECF2B173
1 changed files with 13 additions and 0 deletions

View File

@ -74,6 +74,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
if: github.event_name != 'schedule'
uses: docker/build-push-action@v3
with:
context: .
@ -83,3 +84,15 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
-
name: Build and push
if: github.event_name == 'schedule'
uses: docker/build-push-action@v3
with:
context: ./src/
platforms: linux/amd64, linux/arm64, linux/386, linux/arm/v7, linux/arm/v6
build-args: |
PIHOLE_DOCKER_TAG=${{ steps.meta.outputs.version }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}