Hi,
I am currently running a pipeline where i want to update the image version number i.e “docker build -t (image_name):(version_number) .”
“docker push -t repository_name/(image_name):(version_number)”
I am trying to implement this inside a “deploy to production” job in circleci. initially i have been using the latest tag as shown below;
“docker push -t repository_name/(image_name):latest”
but our workflow is rather dynamic and using version numbering, but i have been searching for a solution to no avail.
would be nice if i can get some help.
thanks in advance.