Update .gitlab-ci.yml

This commit is contained in:
Sebastian Hugentobler 2022-02-15 12:00:08 +00:00
parent 04bc0ba371
commit 918548da0e

View File

@ -11,6 +11,7 @@ build:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
- >-
/kaniko/executor
--cache=false
--context "$CI_PROJECT_DIR"
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"