Update .gitlab-ci.yml
This commit is contained in:
parent
04bc0ba371
commit
918548da0e
@ -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
|
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
|
||||||
- >-
|
- >-
|
||||||
/kaniko/executor
|
/kaniko/executor
|
||||||
|
--cache=false
|
||||||
--context "$CI_PROJECT_DIR"
|
--context "$CI_PROJECT_DIR"
|
||||||
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
|
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
|
||||||
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
|
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
|
||||||
|
Loading…
Reference in New Issue
Block a user