github.com/dnephin/dobi@v0.15.0/examples/tag-images/README.md (about) 1 2 # Example - Tag docker images with version and timestamp 3 4 Docker images often have multiple tags that can point at a single image. Got 5 example `golang:1.6` and `golang:1.6.3` and `golang:latest` could all be the 6 same image. 7 8 This example demonstrates how to add tags to images from data generated by 9 ``dobi``. An environment variable is used to pass in the application version. 10 11 To build and tag the images run: 12 13 APP_VERSION=v1.2.1 dobi tag-images 14 15 To view all the tags run 16 17 docker images | grep example/tagged 18 19 To remove all the images run: 20 21 APP_VERSION=v1.2.1 dobi clean