ecs-deploy icon indicating copy to clipboard operation
ecs-deploy copied to clipboard

Unable to parse image with sha256 hash

Open dmcallejo opened this issue 1 year ago • 0 comments

Hello! I was testing the script and tried to create a new revision of a task definition and my image name containing the sha256 hash got rejected:

ecs-deploy -d $TASK_DEFINITION_NAME -i "registry.gitlab.com/my_group/my_project@sha256:dad7a0d0ca125ea1985fdc83e93ecdb477c52758135bdb4cf6c45ec1fcd9c4e0"
Unable to parse image name: registry.gitlab.com/my_group/my_project@sha256:dad7a0d0ca125ea1985fdc83e93ecdb477c52758135bdb4cf6c45ec1fcd9c4e0, check the format and try again

Maybe the regex should be adjusted to allow this format as well as the tag+sha256 format?

Cheers!

dmcallejo avatar May 29 '24 11:05 dmcallejo