Hi Team,
We are using Atlassian integration for build and push the image to ecr repo, but when we are build and push new image to ecr old image renaming as . (dot) , how to rename as any random version like 1.0.0, is it possible please suggest.
image: atlassian/pipelines-awscli
pipelines:
branches:
dev:
- step:
name: Build and Push Docker Image to the DEV ECR
script:
- docker build -t backend:latest .
- pipe: atlassian/aws-ecr-push-image:2.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: backend
TAGS: 'latest'