Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

using environment variables in docker tags #7

Open
alexlance opened this issue Aug 9, 2016 · 0 comments
Open

using environment variables in docker tags #7

alexlance opened this issue Aug 9, 2016 · 0 comments

Comments

@alexlance
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant