Closed rstijerina closed 5 months ago
Questions
- How can I test this awesome?
- Is it already used on a another repo successfully?
- If so, does it's Jenkins build have code I can copy that will output the tag instead of the commit hash?
My thoughts on № 1 (testing):
- I tag the latest commit of this branch.
- I run a Jenkins build using the tag.
- I check DockerHub for image.
- I test deploy some guinea pig CMS.
Overview
This PR adds a new variable to the
Makefile
context:DOCKER_IMAGE_BRANCH
This variable will correspond to the git tag for the commit if it exists, else the branch name for the commit, with special characters replaced with
-
.