gitea-runner: set default_image in container config to use pantheon-ci for all jobs
This commit is contained in:
@@ -26,7 +26,7 @@ spec:
|
||||
--instance "$GITEA_INSTANCE_URL" \
|
||||
--token "$GITEA_RUNNER_REGISTRATION_TOKEN" \
|
||||
--name legion \
|
||||
--labels "self-hosted:docker://registry.neuralplatform.ai/pantheon-ci:latest,linux:docker://registry.neuralplatform.ai/pantheon-ci:latest,x64:docker://registry.neuralplatform.ai/pantheon-ci:latest,legion:docker://registry.neuralplatform.ai/pantheon-ci:latest" \
|
||||
--labels "self-hosted,linux,x64,legion" \
|
||||
--no-interactive
|
||||
cat > /data/config.yaml << 'EOF'
|
||||
runner:
|
||||
@@ -36,6 +36,8 @@ spec:
|
||||
network: host
|
||||
docker_host: "unix:///var/run/docker.sock"
|
||||
force_pull: false
|
||||
valid_volumes: []
|
||||
default_image: "registry.neuralplatform.ai/pantheon-ci:latest"
|
||||
EOF
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
||||
Reference in New Issue
Block a user