Skip to content

Commit 91a0400

Browse files
set the work dir
1 parent 5e8cf38 commit 91a0400

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/scripts/ppc64le/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ RUN rm -rf /tmp/runner /tmp/runner.patch
102102

103103
USER runner
104104

105+
# Set working directory
106+
WORKDIR /opt/runner
107+
105108
ENTRYPOINT ["/usr/bin/entrypoint"]
106109
CMD ["/usr/bin/actions-runner"]
107110

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ExecStartPre=-/usr/local/bin/gh_token_generator.sh /etc/actions-runner/%i/appid.
1212
ExecStartPre=-/usr/local/bin/gh_cat_token.sh /etc/actions-runner/%i/ghtoken.env /etc/actions-runner/%i/ghtoken.txt
1313

1414
# Wait for token to be written to the pipe
15-
ExecStartPre=/bin/bash -c 'while [ ! -s /etc/actions-runner/%i/ghtoken.txt ]; do sleep 1; done'
15+
#ExecStartPre=/bin/bash -c 'while [ ! -s /etc/actions-runner/%i/ghtoken.txt ]; do sleep 1; done'
1616

1717
ExecStart=/usr/bin/docker run \
1818
--env-file=/etc/actions-runner/%i/env \

0 commit comments

Comments
 (0)