introduced volume mounts for buildkitd socket
Some checks failed
Go Tests / go-tests (push) Failing after 1m7s
build / build (push) Successful in 2m46s

This commit is contained in:
Manuel Ganter 2025-10-27 15:04:04 +01:00
parent e1c5257388
commit db92c0d3d5
No known key found for this signature in database

View file

@ -163,14 +163,15 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
Env: envs,
VolumeMounts: []corev1.VolumeMount{
{
Name: "buildkitd-deamon",
Name: "buildkitd",
MountPath: "/run/user/1000/buildkit",
SubPath: "buildkitd.sock",
},
},
},
{
Name: "buildkitd",
Image: "moby/buildkit:buildx-stable-1-rootless",
Image: "moby/buildkit:v0.25.1-rootless",
Args: []string{
"--allow-insecure-entitlement=network.host",
"--oci-worker-no-process-sandbox",
@ -193,15 +194,16 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
},
VolumeMounts: []corev1.VolumeMount{
{
Name: "buildkitd-deamon",
Name: "buildkitd",
MountPath: "/run/user/1000/buildkit",
SubPath: "buildkitd.sock",
},
},
},
},
Volumes: []corev1.Volume{
{
Name: "buildkitd-deamon",
Name: "buildkitd",
VolumeSource: corev1.VolumeSource{
EmptyDir: &corev1.EmptyDirVolumeSource{},
},