fix: correctif cicd

This commit is contained in:
Max batleforc 2024-06-28 03:27:38 +02:00
parent 915083c241
commit c66260a161
No known key found for this signature in database
GPG Key ID: 25D243AB4B6AC9E7

View File

@ -37,7 +37,7 @@ spec:
- name: "init" - name: "init"
image: "alpine/git:latest" image: "alpine/git:latest"
imagePullPolicy: Always imagePullPolicy: Always
command: ["ash", "-c", "cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."] command: ["ash", "-c", "mkdir /root/.ssh && cp /root/test/* /root/.ssh && chmod 600 /root/.ssh/base-image && cd /appdata && git clone git@git.weebo.fr:sandbox/base-image.git ."]
env: env:
- name: "GIT_SSH_COMMAND" - name: "GIT_SSH_COMMAND"
value: "ssh -o StrictHostKeyChecking=no" value: "ssh -o StrictHostKeyChecking=no"