From 06144513ed324159c295498890c430ded7477409 Mon Sep 17 00:00:00 2001 From: Joshua Hawxwell Date: Mon, 3 Jun 2024 15:02:07 +0100 Subject: [PATCH] Push latest tag if workflow is "Main pipeline Workflow" --- .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