mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 19:42:55 +01:00
Initial version new build pattern
This commit is contained in:
parent
51e4dea7ac
commit
c3e3882320
8 changed files with 75 additions and 2 deletions
|
|
@ -30,7 +30,6 @@ gitlab-qa-ruby-3.0 test: *test_build
|
|||
gitlab-qa-alpine-ruby-2.7 test: *test_build
|
||||
gitlab-qa-alpine-ruby-3.0 test: *test_build
|
||||
gitlab-puppeteer test: *test_build
|
||||
kaniko test: *test_build
|
||||
omnibus-gitlab-bionic test: *test_build
|
||||
omnibus-gitlab-centos7 test: *test_build
|
||||
omnibus-gitlab-centos8 test: *test_build
|
||||
|
|
@ -77,7 +76,6 @@ gitlab-qa-ruby-3.0 push: *build_and_deploy
|
|||
gitlab-qa-alpine-ruby-2.7 push: *build_and_deploy
|
||||
gitlab-qa-alpine-ruby-3.0 push: *build_and_deploy
|
||||
gitlab-puppeteer push: *build_and_deploy
|
||||
kaniko push: *build_and_deploy
|
||||
omnibus-gitlab-bionic push: *build_and_deploy
|
||||
omnibus-gitlab-centos7 push: *build_and_deploy
|
||||
omnibus-gitlab-centos8 push: *build_and_deploy
|
||||
|
|
|
|||
|
|
@ -23,3 +23,19 @@
|
|||
script:
|
||||
- ./scripts/custom-docker-build --label "ci_pipeline_url=$CI_PIPELINE_URL" --label "ci_job_url=$CI_JOB_URL"
|
||||
- ./scripts/custom-docker-push
|
||||
|
||||
.build-with-kaniko:
|
||||
needs: []
|
||||
tags:
|
||||
- gitlab-org
|
||||
stage: kaniko
|
||||
resource_group: ${CI_COMMIT_REF_SLUG}_${CI_JOB_NAME}
|
||||
image: registry.gitlab.com/gitlab-org/frontend/frontend-build-images/build-image
|
||||
script:
|
||||
- ./scripts/kaniko-image-build "$CI_JOB_NAME"
|
||||
rules:
|
||||
- changes:
|
||||
- ${CI_JOB_NAME}/*
|
||||
- scripts/kaniko-image-build
|
||||
when: always
|
||||
- when: manual
|
||||
Loading…
Add table
Add a link
Reference in a new issue