commit 9eac467d8f8866a45682547c1027319a717953ce parent 6c9d05683f76630db88f8108a526468245d0f22d Author: MTRNord <MTRNord@users.noreply.github.com> Date: Fri, 10 Apr 2026 11:22:21 +0200 more fixes Signed-off-by: MTRNord <MTRNord@users.noreply.github.com> Diffstat:
| M | apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy | | | 20 | +++++++++++++++++++- |
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy b/apps/talos_cluster/jenkins/seeds/jobs/gitops_multiarch_builds.groovy @@ -53,9 +53,25 @@ pipelineJob('gitops-multiarch-builds') { volumeMounts: - name: workspace mountPath: /home/jenkins/agent + - name: registry-secret + mountPath: /var/run/secrets/docker.io/config.json + subPath: dockerconfig.json + readOnly: true + - name: cosign-key + mountPath: /var/run/secrets/cosign/key + subPath: cosign.key + readOnly: true volumes: - name: workspace emptyDir: {} + - name: registry-secret + secret: + secretName: registry-credentials + defaultMode: 256 + - name: cosign-key + secret: + secretName: cosign-signing-key + defaultMode: 256 restartPolicy: Never """ } @@ -112,7 +128,9 @@ pipelineJob('gitops-multiarch-builds') { stage('Clone Repository') { steps { - checkout scm + // checkout scm is only available in Multibranch/Pipeline-from-SCM jobs. + // This is an inline CPS pipeline, so clone explicitly. + git url: 'https://github.com/MTRNord/cluster.git', branch: 'main' } }