fix CI build to pass version with -ldflags

This commit is contained in:
Andrea Franz 2019-11-14 13:24:51 +01:00
parent f617d6fc1c
commit cc4e5638f2
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D

View File

@ -34,6 +34,7 @@ docker-image:
build-platforms: build-platforms:
xgo \ xgo \
-ldflags "-X main.version=$(VERSION)" \
-out $(BIN_NAME) \ -out $(BIN_NAME) \
-dest $(GOBIN) \ -dest $(GOBIN) \
-image $(IMAGE_NAME) \ -image $(IMAGE_NAME) \