We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad18c5c commit c6058b0Copy full SHA for c6058b0
.github/workflows/deploy-gf.yml
@@ -70,9 +70,9 @@ jobs:
70
ECR_IMAGE=$(aws ecs describe-task-definition --task-definition $TASK_DEF --query "taskDefinition.containerDefinitions[0].image")
71
echo "ecr image=$ECR_IMAGE"
72
73
- ECR_IMAGE_DIGEST=$(echo $ECR_IMAGE | cut -d "@" -f2)
+ ECR_IMAGE_DIGEST=$(echo $ECR_IMAGE | cut -d "@" -f2 | tr -d '"')
74
echo "ECR_IMAGE_DIGEST=$ECR_IMAGE_DIGEST"
75
- DIGEST=$(aws ecr describe-images --repository-name $ECR_REPO --image-ids imageTag=$IMAGE_TAG | jq '.imageDetails[0]'.imageDigest)
+ DIGEST=$(aws ecr describe-images --repository-name $ECR_REPO --image-ids imageTag=$IMAGE_TAG | jq '.imageDetails[0]'.imageDigest | tr -d '"')
76
echo "DIGEST=$DIGEST"
77
78
if [[ "$ECR_IMAGE_DIGEST" != "$DIGEST" ]]; then
0 commit comments