mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-02-08 00:37:26 +00:00
Add Makefile instructions to main.yml
Add Makefile instructions for building and deploying actions-runner-controller and actions-runner. Signed-off-by: blaze27444 <blaze27444@gmail.com>
This commit is contained in:
parent
7c525be6cc
commit
05f761a7c7
1 changed files with 13 additions and 0 deletions
13
.github/workflows/main.yml
vendored
Normal file
13
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Let assume we have all other envvars like DOCKER_USER, GITHUB_TOKEN already set,
|
||||
# The below command will (re)build `actions-runner-controller:controller1` and `actions-runner:runner1`,
|
||||
# load those into kind nodes, and then rerun kubectl or helm to install/upgrade the controller,
|
||||
# and finally upgrade the runner deployment to use the new runner image.
|
||||
#
|
||||
# As helm 3 and kubectl is unable to recreate a pod when no tag change,
|
||||
# you either need to bump VERSION and RUNNER_TAG on each run,
|
||||
# or manually run `kubectl delete pod $POD` on respective pods for changes to actually take effect.
|
||||
|
||||
# Makefile
|
||||
VERSION=controller1 \
|
||||
RUNNER_TAG=runner1 \
|
||||
make acceptance/pull acceptance/kind docker-buildx acceptance/load acceptance/deploy
|
||||
Loading…
Reference in a new issue