fix docker-build
This commit is contained in:
parent
989006f6c9
commit
f6c8168e42
1 changed files with 4 additions and 1 deletions
|
@ -16,13 +16,16 @@ dockerfile_lint:
|
|||
|
||||
.docker_build:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
before_script:
|
||||
- mkdir -p /kaniko/.docker
|
||||
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"auth\":\"$(printf "%s:%s" "${CI_REGISTRY_USER}" "${CI_REGISTRY_PASSWORD}" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
|
||||
|
||||
docker-build-tags:
|
||||
docker-build-commit:
|
||||
extends: .docker_build
|
||||
script: |
|
||||
/kaniko/executor \
|
||||
|
|
Loading…
Reference in a new issue