Skip to content

Run git init to be able to fetch the default branches

Achilleas Pipinellis requested to merge axil-dockerfile-main-git-init into main

Fixes #1037 (closed).

Verify locally

Build the image before and after you check out this branch:

docker build --build-arg NANOC_ENV=production --build-arg=CI_COMMIT_REF_NAME=main -t docs:latest -f Dockerfile.main .

The first time it will fail with the errors shown above, the second time it will succeed.

Edited by Achilleas Pipinellis

Merge request reports

Loading