get last pushed tag name for the docker image

2.7k views Asked by At

I want to get the last pushed tag number for the docker image. For ex: we are maintaining tag incremental version lik e0.1, 0.2 ..0.n everytime we push the image to the registry. If last pushed tag version is 0.2, I need to get the last pushed tag(0.2) before pushing the new version(0.3) because i have a requirement to increase tag version automatically through pipeline. is there any way to achieve this?

0

There are 0 answers