From 13cced5ec0ff24ef51943b26172a5f2b2f769eb4 Mon Sep 17 00:00:00 2001 From: Carsten Hoffmann Date: Mon, 18 Nov 2024 14:07:23 +0100 Subject: [PATCH] New approach with pushing the images in any case and retagging them once the test is complete. --- .github/workflows/build-and-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 6d694a2..8d3f962 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -69,8 +69,8 @@ jobs: ${{ matrix.postgres_version }}-${{ matrix.major }} # Build and push Docker image with Buildx, using only the digest - - name: Build and push Docker image - id: build-and-push + - name: Build and push Docker image with digest + id: build-and-push-digest uses: docker/build-push-action@v5 with: context: . @@ -98,8 +98,8 @@ jobs: docker rm test-db # Build and push Docker image with Buildx,this time using the final tags - - name: Build and push Docker image - id: build-and-push + - name: Build and push Docker image with final tags (release) + id: build-and-push-release if: github.event_name != 'pull_request' uses: docker/build-push-action@v5 with: