From 4ce63ce225d486d87cd42eb5c44f4dc120aca82c Mon Sep 17 00:00:00 2001 From: Andrejs Cunskis Date: Mon, 2 May 2022 13:45:45 +0300 Subject: [PATCH] Enable buildkit globally --- .gitlab-ci.yml | 1 + .gitlab/ci/definitions.yml | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aae48f8..2d03e6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ stages: variables: DOCKER_DRIVER: overlay2 DOCKER_HOST: tcp://docker:2375 + DOCKER_BUILDKIT: 1 cache-google-chrome: image: debian:bullseye-slim diff --git a/.gitlab/ci/definitions.yml b/.gitlab/ci/definitions.yml index 2d0892a..ff0d3ad 100644 --- a/.gitlab/ci/definitions.yml +++ b/.gitlab/ci/definitions.yml @@ -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