Skip to content

Commit 3e3faad

Browse files
update token file login service
1 parent addc92b commit 3e3faad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/ppc64le/self-hosted-builder/[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ Type=simple
88
Restart=always
99
ExecStartPre=-/usr/bin/docker rm --force actions-runner.%i
1010
ExecStartPre=-/usr/local/bin/gh_token_generator.sh /etc/actions-runner/%i/appid.env /etc/actions-runner/%i/installid.env /etc/actions-runner/%i/key_private.pem /etc/actions-runner/%i/ghtoken.env
11+
ExecStartPre=-/usr/local/bin/gh_cat_token.sh /etc/actions-runner/%i/ghtoken.env /etc/actions-runner/%i/ghtoken.socket
1112
ExecStart=/usr/bin/docker run \
1213
--env-file=/etc/actions-runner/%i/env \
13-
--env-file=/etc/actions-runner/%i/ghtoken.env \
14+
--volume /etc/actions-runner/%i/ghtoken.socket:/run/runner_secret \
1415
--init \
1516
--interactive \
1617
--name=actions-runner.%i \

0 commit comments

Comments
 (0)