chore: Set build version on make-runscaleset (#2713)

This commit is contained in:
Yusuke Kuoka 2023-07-03 18:52:04 +09:00 committed by GitHub
parent 685f7162a4
commit 2fee26ddce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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