File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ workflow:
1818 - if : $CI_COMMIT_TAG
1919 - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2020
21+ default :
22+ tags :
23+ - flarenetwork-md
24+
2125build :
2226 stage : build
2327 image : golang:${GOLANG_VERSION}
@@ -57,19 +61,13 @@ test:
5761build-container :
5862 stage : build
5963 needs : []
60- image : gcr.si/cts/build-oci:1.3.0@sha256:af8fd5a7f8bf74037741f8a831209d66078d94251dd155df6d61b61a9f922bf7
61- script : ["/build.sh"]
62- variables :
63- CTS_BUILD_CACHE_REPO : ${CI_REGISTRY_IMAGE}/cache
64- CTS_BUILD_DOCKERFILE : Dockerfile
65- rules :
66- - if : $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
67- variables :
68- CTS_BUILD_TAG : latest
69- - if : $CI_COMMIT_TAG != null
70- variables :
71- CTS_BUILD_TAG : $CI_COMMIT_TAG
72- - if : $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE != 'merge_request_event'
73-
74- variables :
75- CTS_BUILD_TAG : $CI_COMMIT_REF_SLUG
64+ image :
65+ name : registry.gitlab.com/flarenetwork/infra-public/pipeliner/kaniko-executor-stbl:v1.23.2-debug
66+ entrypoint : [""]
67+ script :
68+ - >-
69+ args="--context ${CI_PROJECT_DIR}/.
70+ --cache=true
71+ --registry-mirror mirror.gcr.io
72+ --destination ${CI_REGISTRY_IMAGE}:$CI_COMMIT_SHA"
73+ - /kaniko/executor $args
You can’t perform that action at this time.
0 commit comments