When pushing the image to ECR using the tag 1.2.3-RC2
, it doesn't work. I am using the plugin from aws-ecr-push-image version 2.4.2. However, when I use version 1.6.2, it works. Why is this happening?
1.2.3-RC2"
Hi @Leandro Casanovas . Did you build image with required tag first according to docs?
Check this example:
script: # build the image - docker build -t my-docker-image:1.2.3-RC2 . # use the pipe to push the image to AWS ECR - pipe: atlassian/aws-ecr-push-image:2.4.2 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: '1.2.3-RC2'
Regards, Igor
Hi @Igor Stoyanov, thanks for your help. I was using the wrong tag in my pipeline.
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.