Skip to content

Commit addc92b

Browse files
updating logic for token
1 parent a613fd4 commit addc92b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

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

103103
USER runner
104104

105+
ENTRYPOINT ["/usr/bin/entrypoint"]
106+
CMD ["/usr/bin/actions-runner"]
105107

106-
# Download and extract GitHub Actions Runner
107-
#RUN curl -L https://github.com/actions/runner/releases/download/v2.317.0/actions-runner-linux-x64-2.317.0.tar.gz | tar -xz

.github/scripts/ppc64le/self-hosted-builder/fs/usr/bin/actions-runner

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ unset ACCESS_TOKEN
2727
# it does one job, stops and unregisters
2828
registration_token=$(jq --raw-output .token "$token_file")
2929

30+
cd /opt/runner
31+
3032
./config.sh \
3133
--unattended \
3234
--ephemeral \

0 commit comments

Comments
 (0)