fix(Dockerfile): use recursive clone to include modules in image

This commit is contained in:
Iain Learmonth 2023-03-26 15:26:23 +01:00
parent 5f68004353
commit 2c430f1497

View file

@ -82,11 +82,12 @@ pages:
docker-build: docker-build:
# Use the official docker image.
image: docker:latest image: docker:latest
stage: build stage: build
services: services:
- docker:dind - docker:dind
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
# Default branch leaves tag empty (= latest tag) # Default branch leaves tag empty (= latest tag)