ecs-deploy
ecs-deploy copied to clipboard
Unable to parse image with sha256 hash
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!