gocd-plugins icon indicating copy to clipboard operation
gocd-plugins copied to clipboard

using environment variables in docker tags

Open alexlance opened this issue 9 years ago • 0 comments

It would be nice to tag images with the git revision hash.

Example of environment variables here: https://docs.go.cd/current/configuration/admin_use_custom_pipeline_label.html

Ideally I'd like to use something like: ${git[:7]} in the tag field, to tag a docker image with the git short hash.

alexlance avatar Aug 09 '16 02:08 alexlance