i hope
This commit is contained in:
parent
27e864f4b4
commit
6bf92b2241
@ -12,16 +12,8 @@ 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:
|
||||||
- |
|
- mkdir -p /kaniko/.docker
|
||||||
cat << EOF > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"registry.yaemiku.dev\":{\"auth\":\"$DOCKER_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||||
{
|
|
||||||
"auths": {
|
|
||||||
"https://registry.yaemiku.dev": {
|
|
||||||
"auth": "${DOCKER_PASSWORD}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context "${CI_PROJECT_DIR}"
|
--context "${CI_PROJECT_DIR}"
|
||||||
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user