|
|
|
@ -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 |
|
|
|
|