Answers for "buildspec conditional"

0

buildspec conditional

- MANIFEST=$(aws ecr batch-get-image --region eu-west-1 --repository-name application-image --image-ids imageTag=latest --query 'images[].imageManifest' --output text)
   - |-
     if [ -n "$MANIFEST" ]; then
       aws ecr put-image --region eu-west-1 --repository-name application-image --image-tag ${IMAGE_TAG} --image-manifest "$MANIFEST"
     fi
Posted by: Guest on June-30-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language