Skip to content

Commit

Permalink
Merge pull request #147 from whoan/issue-146
Browse files Browse the repository at this point in the history
Honour custom cache image name in public AWS ECR when BuildKit is disabled
  • Loading branch information
whoan authored Oct 28, 2023
2 parents 23a01a4 + 8f19e0f commit c587982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ _aws_get_public_ecr_registry_name() {
}

_aws_get_image_tags() {
mapfile -t tags < <(_aws ecr-public describe-image-tags --repository-name "$INPUT_IMAGE_NAME"-stages | jq ".imageTagDetails[].imageTag")
mapfile -t tags < <(_aws ecr-public describe-image-tags --repository-name "$(_get_stages_image_name)" | jq ".imageTagDetails[].imageTag")
tags=( "${tags[@]#\"}" )
tags=( "${tags[@]%\"}" )
}
Expand Down

0 comments on commit c587982

Please sign in to comment.