Create Dockerfile

This commit is contained in:
2025-09-10 23:51:20 -07:00
committed by GitHub
parent 3622897cae
commit 0ec6292fe7

6
runner/Dockerfile Normal file
View 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'