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