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