adding my default variable "BITBUCKET_TAG" to my "aws-ecr-push-image:1.6.0" I did it this way but it doesn't work
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_TAG}'
any suggestion?
@Joan Arbelaez hi. Thanks for your question.
Please provide us more details with your pipeline config and response to understand what is going wrong.
Also take a look at the description of the BITBUCKET_TAG variable:
"The tag of a commit that kicked off the build. This value is only available on tags.
Not available for builds against branches."
Regards, Igor.
adding my default variable "BITBUCKET_TAG" to my "aws-ecr-push-image:1.6.0" I did it this way but it doesn't work, it returns empty value " "
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_TAG}'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Patrick I am effectively calling the variable from a branch, so I am going to do it directly from the label to obtain the corresponding value as you indicate, thanks for your answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.