From 521fb199682e3018698d209fcd2b907481a9d845 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Fri, 6 Oct 2023 13:37:04 +0100 Subject: [PATCH] Echo readable_tag and also manifest correctly --- .github/workflows/aws_deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index 645eb34a7..be5247d10 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -112,8 +112,10 @@ jobs: commit_tag: ${{ github.sha }} readable_tag: ${{ inputs.environment }}-${{ steps.tag.outputs.tag }} run: | + echo $readable_tag manifest=$(aws ecr batch-get-image --repository-name $repository --image-ids imageTag=$commit_tag --output text --query images[].imageManifest) - echo manifest + echo $manifest + aws ecr put-image --repository-name $repository --image-tag $readable_tag --image-manifest "$manifest" # manifest=$(aws ecr batch-get-image --repository-name $repository --image-ids imageTag=$commit_tag --output text --query images[].imageManifest) # aws ecr put-image --repository-name $repository --image-tag $readable_tag --image-manifest "$manifest" # echo "image=$registry/$repository:$readable_tag" >> $GITHUB_ENV