From eeaaef1d1b7e50739f7772d789bafb5530922095 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Fri, 16 Apr 2021 08:22:35 +0000 Subject: [PATCH] Reuse the latest tag for release to avoid duplication --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 608e64a..93050a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,7 +57,7 @@ jobs: - if: ${{ github.event_name != 'release' }} name: Set the CONTAINER_IMAGE_RELEASE_TAG environment variable run: | - echo "CONTAINER_IMAGE_RELEASE_TAG=$CONTAINER_IMAGE_RELEASE_TAGlatest" >> $GITHUB_ENV + echo "CONTAINER_IMAGE_RELEASE_TAG=${CONTAINER_IMAGE_LATEST_TAG}" >> $GITHUB_ENV - name: Build the container image for all the platforms and eventually push to Docker Hub (latest) uses: docker/build-push-action@v2 with: