Pass TRAVIS BRANCH to docker
@@ -11,7 +11,7 @@ export GO111MODULE = on
ifndef TRAVIS_PULL_REQUEST_BRANCH
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
else
- BRANCH := $(TRAVIS_PULL_REQUEST_BRANCH)
+ BRANCH := $(TRAVIS_BRANCH)
endif
# Setup the -ldflags option to pass vars defined here to app vars
