fix kaniko ??
This commit is contained in:
parent
497698f424
commit
2a6c8b139a
@ -12,7 +12,15 @@ build:
|
||||
name: gcr.io/kaniko-project/executor:v1.14.0-debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- cat $DOCKER_REGISTRY > /kaniko/.docker/config.json
|
||||
- cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"https://index.docker.io/v1/": {
|
||||
"auth": "${DOCKER_PASSWORD}"
|
||||
}
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- /kaniko/executor
|
||||
--context "${CI_PROJECT_DIR}"
|
||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||
|
Loading…
Reference in New Issue
Block a user