mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-14 00:17:57 +00:00
Create Dockerfile
This commit is contained in:
6
runner/Dockerfile
Normal file
6
runner/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM gitea/act_runner:latest
|
||||||
|
ENV GITEA_INSTANCE_URL=""
|
||||||
|
ENV GITEA_RUNNER_REGISTRATION_TOKEN=""
|
||||||
|
ENV GITEA_RUNNER_NAME="fly-runner"
|
||||||
|
ENV GITEA_RUNNER_LABELS="fly,self-hosted,linux"
|
||||||
|
CMD sh -c 'test -f /data/.registered || gitea-runner register --no-interactive --instance "${GITEA_INSTANCE_URL}" --token "${GITEA_RUNNER_REGISTRATION_TOKEN}" --name "${GITEA_RUNNER_NAME}" --labels "${GITEA_RUNNER_LABELS}" && touch /data/.registered; exec gitea-runner daemon'
|
||||||
Reference in New Issue
Block a user