mirror of
https://github.com/multipleof4/git.planetrenox.com.git
synced 2026-01-13 16:07:55 +00:00
Update Dockerfile
This commit is contained in:
@@ -3,4 +3,4 @@ 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'
|
||||
CMD sh -c 'if [ ! -f /data/.registered ]; then 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; fi; exec gitea-runner daemon'
|
||||
|
||||
Reference in New Issue
Block a user