diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 09:09:32 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-10 09:09:32 +0000 |
commit | b2e3191074dc12ca0a29a8815db65da9275d7764 (patch) | |
tree | 9c3f5e567750a912d68b4b092bcc4bc7cc61034f /doc/ci/docker | |
parent | 65952e598a194110f5894da1c42577b2b20c6336 (diff) | |
download | gitlab-ce-b2e3191074dc12ca0a29a8815db65da9275d7764.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/docker')
-rw-r--r-- | doc/ci/docker/using_kaniko.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/docker/using_kaniko.md b/doc/ci/docker/using_kaniko.md index ba7e1e96d2c..2a99693b2fb 100644 --- a/doc/ci/docker/using_kaniko.md +++ b/doc/ci/docker/using_kaniko.md @@ -66,8 +66,8 @@ build: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - only: - - tags + rules: + - if: $CI_COMMIT_TAG ``` ## Using a registry with a custom certificate |