Compare commits

..

No commits in common. "e1f9bc98a24131bfb997d49577284abc29875633" and "f4c4822fe1af36194ed9300628c713713a77d62d" have entirely different histories.

2 changed files with 23 additions and 5 deletions

View File

@ -16,4 +16,8 @@ data:
- "--privileged"
docker_host: "tcp://localhost:2375"
force_pull: false
registries:
"https://index.docker.io/v1/":
username: samyrai
password: dckr_pat_SFQVdLDsWT6U8EmCqph5rLQzIAI

View File

@ -21,13 +21,30 @@ spec:
env:
- name: DOCKER_TLS_CERTDIR
value: ""
- name: DOCKER_HUB_USERNAME
valueFrom:
secretKeyRef:
name: docker-hub-credentials
key: username
- name: DOCKER_HUB_PASSWORD
valueFrom:
secretKeyRef:
name: docker-hub-credentials
key: password
securityContext:
privileged: true
volumeMounts:
- name: docker-graph-storage
mountPath: /var/lib/docker
- name: docker-config
mountPath: /root/.docker
lifecycle:
postStart:
exec:
command:
- /bin/sh
- -c
- |
sleep 10
docker login --username ${DOCKER_HUB_USERNAME} --password ${DOCKER_HUB_PASSWORD} || true
- name: runner
image: gitea/act_runner:latest
env:
@ -71,7 +88,4 @@ spec:
- name: runner-config
configMap:
name: gitea-runner-config
- name: docker-config
configMap:
name: docker-config
dnsPolicy: ClusterFirst