i hope final kaniko fix

This commit is contained in:
Nikola Kubiczek 2023-09-08 21:20:41 +02:00
parent 2a6c8b139a
commit 7ea1b8b449
Signed by: yaemiku
GPG Key ID: ADC039636B3E4AAB

View File

@ -12,15 +12,16 @@ build:
name: gcr.io/kaniko-project/executor:v1.14.0-debug name: gcr.io/kaniko-project/executor:v1.14.0-debug
entrypoint: [""] entrypoint: [""]
script: script:
- cat << EOF > /kaniko/.docker/config.json - |
{ cat << EOF > /kaniko/.docker/config.json
"auths": { {
"https://index.docker.io/v1/": { "auths": {
"auth": "${DOCKER_PASSWORD}" "https://index.docker.io/v1/": {
} "auth": "${DOCKER_PASSWORD}"
} }
} }
EOF }
EOF
- /kaniko/executor - /kaniko/executor
--context "${CI_PROJECT_DIR}" --context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile" --dockerfile "${CI_PROJECT_DIR}/Dockerfile"