From 462d6fdb1773fdb92bd680da4c5122b90cc8b7ba Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 5 Nov 2025 21:18:49 +0100 Subject: [PATCH] Add plain :edge tag for debian release #1063 --- .github/workflows/build.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96cb89c4..cbc56797 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,9 +139,9 @@ jobs: platforms: ${{ matrix.platforms }} push: true tags: ${{ secrets.REGISTRY_NAMESPACE }}/pigallery2:experimental-${{ matrix.container }} - - name: Push edge on new master commit + - name: Push secondary edge builds on new master commit # github.ref: branches the format is refs/heads/ PRs and Tags are different - if: ${{github.ref == 'refs/heads/master' }} + if: ${{github.ref == 'refs/heads/master' && matrix.container != 'debian-trixie'}} uses: docker/build-push-action@v5 with: context: . @@ -149,6 +149,17 @@ jobs: platforms: ${{ matrix.platforms }} push: true tags: ${{ secrets.REGISTRY_NAMESPACE }}/pigallery2:edge-${{ matrix.container }} + - name: Push main edge build on new master commit + if: ${{github.ref == 'refs/heads/master' && matrix.container == 'debian-trixie'}} + uses: docker/build-push-action@v5 + with: + context: . + file: docker/${{ matrix.container }}/Dockerfile.build + platforms: ${{ matrix.platforms }} + push: true + tags: | + ${{ secrets.REGISTRY_NAMESPACE }}/pigallery2:edge + ${{ secrets.REGISTRY_NAMESPACE }}/pigallery2:edge-${{ matrix.container }} - name: Push release on new Tag if: ${{ startsWith(github.ref_type , 'tag') && !github.event.issue.pull_request && matrix.container != 'debian-trixie'}} uses: docker/build-push-action@v5