Skip to content

Commit

Permalink
fix: expanded target-tag parameter with eval (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
brivu authored May 3, 2022
1 parent 2054340 commit 7ceb2ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/tag-image.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
PARAM_REPO=$(eval echo "${PARAM_REPO}")
PARAM_SOURCE_TAG=$(eval echo "${PARAM_SOURCE_TAG}")
PARAM_TARGET_TAG=$(eval echo "${PARAM_TARGET_TAG}")

# pull the image manifest from ECR
MANIFEST=$(aws ecr batch-get-image --repository-name "${PARAM_REPO}" --image-ids imageTag="${PARAM_SOURCE_TAG}" --query 'images[].imageManifest' --output text)
Expand Down

0 comments on commit 7ceb2ed

Please sign in to comment.