3

I have an ECR repo.

I'm using a gitlab CI to push and pull an image from that repo. Everytime my CI runs I'm using the same image tag (is fixed in my CI code) like ECR_IMAGE: app:1.1.8

My doubt is: Is there a way to automate the tag generation in every CI run?

Example: Everytime my CI runs I want to increment my tag version in 1, like: 1.1.9, 2.0.0, 2.0.1,...

OdiumPura
  • 444
  • 5
  • 25
  • In other words, do you want to update the tag in some file after the pipeline has run? If yes, what file? Or should the tag be updated after your pipeline has run? – D Malan Jan 24 '23 at 16:51

0 Answers0