Enable buildkit globally

This commit is contained in:
Andrejs Cunskis 2022-05-02 13:45:45 +03:00
parent e5885af2fb
commit 4ce63ce225
No known key found for this signature in database
GPG key ID: 87CB75083F227241
2 changed files with 1 additions and 4 deletions

View file

@ -24,6 +24,7 @@ stages:
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
DOCKER_BUILDKIT: 1
cache-google-chrome:
image: debian:bullseye-slim

View file

@ -1,16 +1,12 @@
# 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