mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
Compare commits
No commits in common. "5d854419e14ebb4115862276012964f3ca70d8a2" and "c60fd6a91f56b0df4a2243bcc62e3c66021f2faa" have entirely different histories.
5d854419e1
...
c60fd6a91f
@ -31,16 +31,6 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: runner
|
- name: runner
|
||||||
image: gitea/act_runner:latest
|
image: gitea/act_runner:latest
|
||||||
command:
|
|
||||||
- sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
apk add --no-cache nodejs npm || true
|
|
||||||
cd /data
|
|
||||||
if [ ! -f .runner ]; then
|
|
||||||
/usr/local/bin/act_runner register --instance "$GITEA_INSTANCE_URL" --token "$GITEA_RUNNER_REGISTRATION_TOKEN" --name "$GITEA_RUNNER_NAME" --labels "$GITEA_RUNNER_LABELS" --no-interactive || true
|
|
||||||
fi
|
|
||||||
exec /usr/local/bin/act_runner daemon
|
|
||||||
env:
|
env:
|
||||||
- name: GITEA_INSTANCE_URL
|
- name: GITEA_INSTANCE_URL
|
||||||
value: "http://gitea.gitea.svc.cluster.local:3000"
|
value: "http://gitea.gitea.svc.cluster.local:3000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user