Fix ephermal

This commit is contained in:
2025-11-24 22:22:16 +01:00
parent 5ffa61c28c
commit 6822637982
2 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ services:
build: build:
context: . context: .
volumes: volumes:
#- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock:ro
- /usr/bin/docker:/usr/bin/docker:ro
#- ./config:/config #- ./config:/config
- ./data:$HOME/.cache - ./data:$HOME/.cache
- ./configs/NuGet:/root/.nuget/NuGet - ./configs/NuGet:/root/.nuget/NuGet

View File

@@ -4,7 +4,7 @@ echo "Connecting to ${GITEA_INSTANCE_URL}"
if ! test -f .runner; then if ! test -f .runner; then
echo "No .runner file detected, running registration" echo "No .runner file detected, running registration"
/app/act_runner register --instance "${GITEA_INSTANCE_URL}" --token "${GITEA_RUNNER_REGISTRATION_TOKEN}" --name "${GITEA_RUNNER_NAME}" --labels "${GITEA_RUNNER_LABELS}" --no-interactive /app/act_runner register --instance "${GITEA_INSTANCE_URL}" --token "${GITEA_RUNNER_REGISTRATION_TOKEN}" --name "${GITEA_RUNNER_NAME}" --labels "${GITEA_RUNNER_LABELS}" --no-interactive --ephemeral
touch /.runner touch /.runner
fi fi