Add back the commit sha in the org.label-schema.vcs-ref label.

It looks like it was accidentally removed in commit
8c7eaa1db8
This commit is contained in:
Ergin Babani 2018-04-16 22:27:46 -04:00
parent dcbd64f588
commit ffa7107158

View File

@ -35,6 +35,7 @@ DOCKER_PUSH_TARGETS := $(addprefix docker_push_, $(CMDS))
# Go build flags
GOOS := linux
GOARCH := amd64
GIT_COMMIT := $(shell git rev-parse HEAD)
GOLDFLAGS := -ldflags "-X $(PACKAGE_NAME)/pkg/util.AppGitState=${GIT_STATE} -X $(PACKAGE_NAME)/pkg/util.AppGitCommit=${GIT_COMMIT} -X $(PACKAGE_NAME)/pkg/util.AppVersion=${APP_VERSION}"
.PHONY: verify build docker_build push generate generate_verify deploy_verify \