Browse Source

Echo readable_tag and also manifest correctly

cldc-2563-aws-production-pipeline-backup
Sam Seed 1 year ago
parent
commit
521fb19968
  1. 4
      .github/workflows/aws_deploy.yml

4
.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

Loading…
Cancel
Save