From 2fee26ddce6dec9c25affa25390b6aca057942ef Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Mon, 3 Jul 2023 18:52:04 +0900 Subject: [PATCH] chore: Set build version on make-runscaleset (#2713) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c75515f..eb118baf 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,8 @@ run: generate fmt vet manifests run-scaleset: generate fmt vet CONTROLLER_MANAGER_POD_NAMESPACE=default \ CONTROLLER_MANAGER_CONTAINER_IMAGE="${DOCKER_IMAGE_NAME}:${VERSION}" \ - go run ./main.go --auto-scaling-runner-set-only + go run -ldflags="-s -w -X 'github.com/actions/actions-runner-controller/build.Version=$(VERSION)'" \ + ./main.go --auto-scaling-runner-set-only # Install CRDs into a cluster install: manifests