Skip to content

Commit 41dd59f

Browse files
committed
fix: use github pat instead of runner token
1 parent 8d65d4b commit 41dd59f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ RUN apt update -y && apt install -y \
99
curl \
1010
python3 \
1111
pipx \
12-
mariadb-server
12+
mariadb-server \
13+
git
1314

1415
RUN curl -o actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz -L https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz
1516

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
./config.sh \
66
--unattended \
77
--url https://github.com/ocf/ocflib \
8-
--token $RUNNER_TOKEN \
8+
--pat ${GITHUB_PAT} \
99
--replace --name ocf-github-runner
1010

1111
# Start runner

0 commit comments

Comments
 (0)