Closed georgantasp closed 3 weeks ago
If you look at line 17 that value is then used to do the validation and tag or not, so this implementation would break that.
@marboledacci you're right, I let the double negative confuse me. I pushed a fix to make it make sense. Now, the EXISTING_TAGS
is only set when AWS_ECR_BOOL_SKIP_WHEN_TAGS_EXIST
is set to 1.
Checklist
Motivation, issues
My CI AWS profile is given an aws managed policy which does not have
ecr:ListImages
permission. EC2InstanceProfileForImageBuilderECRContainerBuildsDescription
The
tag_image
command has a flag toskip_when_tags_exist
(default false). When the flag is not set, there is no use for theListImages
output.