mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
Compare commits
2 Commits
c60fd6a91f
...
5d854419e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d854419e1 | ||
|
|
567745be0a |
@ -31,6 +31,16 @@ 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