gitlab-ci: fix docker job to run on custom runners without overlayfs as well

This commit is contained in:
InsanePrawn 2022-11-11 17:55:53 +01:00
parent bce4f03c09
commit 33b52b2774

View file

@ -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: