Skip to content
代码片段 群组 项目
未验证 提交 b59acf1d 编辑于 作者: Furkan Ayhan's avatar Furkan Ayhan 提交者: GitLab
浏览文件

Merge branch 'ci-template-kaniko-flexible' into 'master'

Update the Kaniko template to make the job be extendible

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144352



Merged-by: default avatarFurkan Ayhan <furkanayhn@gmail.com>
Approved-by: default avatarMichael Friedrich <mfriedrich@gitlab.com>
Approved-by: default avatarFurkan Ayhan <furkanayhn@gmail.com>
Co-authored-by: default avatarKjetil Torgrim Homme <kjetil.homme@redpill-linpro.com>
No related branches found
No related tags found
无相关合并请求
......@@ -6,7 +6,7 @@
# Build and publish a tag/branch to Gitlab Docker Registry using Kaniko and Gitlab Docker executor.
# Kaniko can build Docker images without using Docker-In-Docker and it's permission
# drawbacks. No additional configuration required.
kaniko-build:
.kaniko-build:
variables:
# Additional options for Kaniko executor.
# For more details see https://github.com/GoogleContainerTools/kaniko/blob/master/README.md#additional-flags
......@@ -73,3 +73,6 @@ kaniko-build:
- if: $CONTAINERFILE_PATH
# custom build context without an explicit Dockerfile path
- if: $KANIKO_BUILD_CONTEXT != $CI_PROJECT_DIR
kaniko-build:
extends: .kaniko-build
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册