Skip to content

Commit

Permalink
Fix image build version
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
  • Loading branch information
helayoty committed Feb 9, 2023
1 parent 5b699e4 commit 9f4ec56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ test-loganalytics-json:
chmod a+x hack/ci/create_loganalytics_auth.sh
hack/ci/create_loganalytics_auth.sh

bin/virtual-kubelet: BUILD_VERSION ?= $(IMG_TAG)
bin/virtual-kubelet: BUILD_DATE ?= $(shell date -u '+%Y-%m-%d-%H:%M UTC')
bin/virtual-kubelet: VERSION_FLAGS := -ldflags='-X "main.buildVersion=$(BUILD_VERSION)" -X "main.buildTime=$(BUILD_DATE)"'
bin/virtual-kubelet: VERSION_FLAGS := -ldflags='-X "main.buildVersion=$(IMG_TAG)" -X "main.buildTime=$(BUILD_DATE)"'

FILTER_TESTS = $(filter-out $(wildcard **/*_test.go), $1)
FILTER_E2E = $(filter-out $(wildcard e2e/**), $1)
Expand Down

0 comments on commit 9f4ec56

Please sign in to comment.