Merge branch 'main' into nightly

This commit is contained in:
Yash Singh
2025-11-24 12:54:41 +05:30
committed by GitHub
4 changed files with 700 additions and 2 deletions
+19
View File
@@ -403,6 +403,7 @@ func buildImage(tags []string, dockerfileLocation string) error {
Image: "gcr.io/kaniko-project/executor:latest",
Args: []string{
"--verbosity=debug",
"--log-format=text",
"--dockerfile=Dockerfile",
"--context=dir://" + contextDir,
"--skip-tls-verify",
@@ -413,6 +414,10 @@ func buildImage(tags []string, dockerfileLocation string) error {
Name: "kaniko-workspace",
MountPath: "/app/generated",
},
{
Name: "docker-config",
MountPath: "/kaniko/.docker/",
},
},
},
},
@@ -427,6 +432,20 @@ func buildImage(tags []string, dockerfileLocation string) error {
},
},
},
{
Name: "docker-config",
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: os.Getenv("SHUFFLE_REGISTRY_SECRET"),
Items: []corev1.KeyToPath{
{
Key: ".dockerconfigjson",
Path: "config.json",
},
},
},
},
},
},
},
},