|
|
|
|
|
by trcollinson
3430 days ago
|
|
I came to second Gitlab CI. I build all of my docker images in Gitlab CI and tag them. The trick is to use the gitlab ci environment variables (I tag with with the git tag or the git branch name depending using this method). If you would like to get a bit more help, feel free to email me. My username here at gmail. |
|
The description for that variable says it's only available when building a tag. Does that just mean the commit needs to be tagged before a push?
Update: I just found this, which is probably exactly what I want to do: https://github.com/gitlabhq/gitlab-ci/issues/637
Update 2: Wait. What? This doesn't sound right. Now I'm confused: https://docs.gitlab.com/ce/ci/yaml/#tags
Update 3: It seems those are 2 different types of "tag", both mentioned in the same configuration subobject. Crazy.