mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 11:32:56 +01:00
Use buildkit and inline cache to speed up builds
This commit is contained in:
parent
be7af7d540
commit
e5885af2fb
3 changed files with 7 additions and 7 deletions
|
|
@ -1,12 +1,16 @@
|
|||
# Run test job always
|
||||
.test:
|
||||
stage: test
|
||||
variables:
|
||||
DOCKER_BUILDKIT: 1
|
||||
rules:
|
||||
- when: always
|
||||
|
||||
# Run build job only on a default branch when triggered manually
|
||||
.deploy:
|
||||
stage: deploy
|
||||
variables:
|
||||
DOCKER_BUILDKIT: 1
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
when: manual
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue