mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
chore: Set build version on make-runscaleset (#2713)
This commit is contained in:
3
Makefile
3
Makefile
@@ -95,7 +95,8 @@ run: generate fmt vet manifests
|
|||||||
run-scaleset: generate fmt vet
|
run-scaleset: generate fmt vet
|
||||||
CONTROLLER_MANAGER_POD_NAMESPACE=default \
|
CONTROLLER_MANAGER_POD_NAMESPACE=default \
|
||||||
CONTROLLER_MANAGER_CONTAINER_IMAGE="${DOCKER_IMAGE_NAME}:${VERSION}" \
|
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 CRDs into a cluster
|
||||||
install: manifests
|
install: manifests
|
||||||
|
|||||||
Reference in New Issue
Block a user