While using the ECR pipe to push docker image,
# use the pipe to push to AWS ECR
- pipe: atlassian/aws-ecr-push-image:1.2.0
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
IMAGE_NAME: my-docker-image
TAGS: '${BITBUCKET_BRANCH} latest'I get an error as following
<span>✖ Docker tag error: 500 Server Error: Internal Server Error ("invalid tag format")</span>a previous command to check what tag was being set
<span>test/SYS-71-test</span><span>$ echo $BITBUCKET_BRANCH<br><br></span>
Are '/' or '-' not allowed as valid tag symbols?