mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
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
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:
parent
98b5423d3b
commit
4c0d57a014
@ -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"
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user