From f5319e13666e5eb116949124c4ff4b3afce69eaf Mon Sep 17 00:00:00 2001 From: Joshua Hawxwell Date: Mon, 3 Jun 2024 15:20:00 +0100 Subject: [PATCH] Push latest tag if workflow is "Main pipeline Workflow" (#207) --- .github/workflows/build-push-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-push-images.yml b/.github/workflows/build-push-images.yml index 0f98263a..1805ca8b 100644 --- a/.github/workflows/build-push-images.yml +++ b/.github/workflows/build-push-images.yml @@ -91,7 +91,7 @@ jobs: ECR_REPOSITORY: ${{ matrix.ecr_repository }} run: | docker tag ${{ matrix.ecr_repository }}:latest $ECR_REGISTRY/$ECR_REPOSITORY:${{ inputs.docker_tag }} - if ${{ github.workflow == 'Path To Live' }}; then + if ${{ github.workflow == 'Main pipeline Workflow' }}; then docker tag ${{ matrix.ecr_repository }}:latest $ECR_REGISTRY/$ECR_REPOSITORY:latest docker tag ${{ matrix.ecr_repository }}:latest $ECR_REGISTRY/$ECR_REPOSITORY:main-${{ inputs.docker_tag }} fi