From f0fe9a3fa86ac12da9baddabd179db05ff820942 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Fri, 11 Mar 2022 13:30:04 +0100 Subject: [PATCH] updating build file --- .github/workflows/build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5282673..29fba6f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,19 +138,19 @@ jobs: push: true tags: bpatrik/pigallery2:nightly-${{ matrix.container }} - name: Push release on new Tag - if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request }} - uses: docker/build-push-action@v2 - with: - context: . - file: docker/${{ matrix.container }}/Dockerfile.build - platforms: linux/amd64,linux/arm64,linux/arm/v7 - push: true - tags: | - bpatrik/pigallery2:nightly-${{ matrix.container }} - bpatrik/pigallery2:${{ steps.vars.outputs.tag }} - bpatrik/pigallery2:latest - - name: Push release on new Tag - if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request }} + if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request && matrix.container !== 'debian-buster'}} + uses: docker/build-push-action@v2 + with: + context: . + file: docker/${{ matrix.container }}/Dockerfile.build + platforms: linux/amd64,linux/arm64,linux/arm/v7 + push: true + tags: | + bpatrik/pigallery2:nightly-${{ matrix.container }} + bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-${{ matrix.container }} + bpatrik/pigallery2:latest-${{ matrix.container }} + - name: Push latest on new Tag + if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request && matrix.container === 'debian-buster'}} uses: docker/build-push-action@v2 with: context: .