fix: Configure act_runner to skip authentication for public Docker registries
Some checks failed
CI/CD Pipeline / frontend-lint (push) Failing after 1s
CI/CD Pipeline / backend-lint (push) Failing after 0s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped

This commit is contained in:
Damir Mukimov 2025-12-24 21:31:50 +01:00
parent 98b5423d3b
commit 4c0d57a014
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750
2 changed files with 20 additions and 2 deletions

View File

@ -4,6 +4,16 @@ metadata:
name: gitea-runner-config
namespace: gitea-runners
data:
GITEA_URL: "https://gitea.bk.glpx.pro"
GITEA_TOKEN: "" # Will be set from secret
config.yaml: |
log:
level: debug
cache:
enabled: false
container:
require_docker: true
docker_timeout: 300s
network_mode: bridge
privileged: false
options:
- "--privileged"

View File

@ -44,11 +44,16 @@ spec:
value: "ubuntu-latest:docker://node:24-bookworm,ubuntu-22.04:docker://node:24-bookworm,ubuntu-20.04:docker://node:24-bookworm"
- name: DOCKER_HOST
value: "tcp://localhost:2375"
- name: ACT_RUNNER_CONFIG
value: "/data/.runner_config.yaml"
volumeMounts:
- name: runner-data
mountPath: /data
- name: docker-graph-storage
mountPath: /var/lib/docker
- name: runner-config
mountPath: /data/.runner_config.yaml
subPath: config.yaml
resources:
requests:
memory: "512Mi"
@ -61,4 +66,7 @@ spec:
emptyDir: {}
- name: docker-graph-storage
emptyDir: {}
- name: runner-config
configMap:
name: gitea-runner-config
dnsPolicy: ClusterFirst