Commit Graph

3 Commits

Author SHA1 Message Date
Łukasz Mierzwa
8d9371e023 Put the branch name first on the version string for docker master builds
Docker Hub makes a shallow clone of the git repo, so we don't have tags anyway, we end up with commit-master (e.g. 289f849-master), put the branch first so it's more human readable (master-289f849)
2017-04-20 09:40:10 -07:00
Łukasz Mierzwa
0a39b49df0 SOURCE_COMMIT doesn't work, generate version from git
SOURCE_COMMIT is always empty, for both manual and automated builds, work around it by running git
2017-04-18 16:18:04 -07:00
Łukasz Mierzwa
b98f53f310 Set custom docker hub build hook to pass version variable to docker
unsee version string is passed as a build arg for the docker build command, add a hook that will set it on hub.
2017-04-18 15:52:43 -07:00