Skip to content

Commit db34c3b

Browse files
committed
use token
1 parent 185186c commit db34c3b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
valueFrom:
2424
secretKeyRef:
2525
name: self-hosted-runner-creds
26-
key: GITHUB_TOKEN
26+
key: TOKEN
2727
- name: DOCKER_HOST
2828
value: 127.0.0.1
2929
- name: DOCKER_BUILDKIT

startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function remove_runner {
1111
# Watch for EXIT signal to be able to shut down gracefully
1212
trap remove_runner EXIT
1313

14-
# Generate
14+
# Generate
1515
CONFIG_TOKEN=$(curl --data "" --header "Authorization: Bearer $TOKEN" https://api.github.com/repos/$GITHUB_REPO/actions/runners/registration-token | jq -r '.token')
1616

1717
# Create the runner and configure it

0 commit comments

Comments
 (0)