Skip to content

Commit

Permalink
fix(ci): build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbaehler committed Oct 18, 2023
1 parent 0339923 commit 129183c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ dev-setup:

KOCACHE ?= /tmp/ko-cache
KO_REGISTRY := ko.local
KO_TAGS ?= "latest,$(VERSION)"
KO_TAGS ?= "latest"
ifdef VERSION
KO_TAGS := $(KO_TAGS),$(VERSION)
endif

LD_FLAGS := "-X main.Version=$(VERSION) \
-X main.GitCommit=$(GIT_HEAD_COMMIT) \
-X main.GitTag=$(VERSION) \
Expand Down

0 comments on commit 129183c

Please sign in to comment.