Is it possible to log the exact version of a Docker image used in BitBucket pipelines?
We have a custom Docker image that is at version 1.8 for example. In our bitbucket-pipelines.yml
we use the latest version of this image:
image: ourImage:1
But when we look at older builds, it would be useful to know which version of the image was used at the time. Was it 1.8 or maybe 1.7 or 1.6 or ...?
Is it possible to log the image version in a Docker container or in BitBucket pipelines? Or to find the version any other way?