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:
parent
dcbd64f588
commit
ffa7107158
1
Makefile
1
Makefile
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user