mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
gitlab-ci: fix docker job to run on custom runners without overlayfs as well
This commit is contained in:
parent
bce4f03c09
commit
33b52b2774
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ build_docker:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
services: ['docker:dind']
|
services: ['docker:dind']
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: vfs # overlay2 is not available on ZFS
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
script:
|
script:
|
||||||
- 'docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" .'
|
- 'docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" .'
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Add table
Reference in a new issue