fix docker-build

This commit is contained in:
Frank Villaro-Dixon 2022-02-27 20:25:37 +01:00
parent 989006f6c9
commit f6c8168e42

View file

@ -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 \