CI: shallow clone repository and limit depth to 5
The previous commit changed the strategy to 'clone', instead of 'fetch' as before. While this fixes permission errors, it is also slower, as an existing checkout of the repository will be ignored. To overcome this, this commit limits the depth to 5.
This commit is contained in:
parent
6c05360afa
commit
6fde80d3e3
@ -1,5 +1,6 @@
|
||||
variables:
|
||||
CONTAINER_REGISTRY: $CI_REGISTRY/georg/mat2-ci-images
|
||||
GIT_DEPTH: "5"
|
||||
GIT_STRATEGY: clone
|
||||
|
||||
stages:
|
||||
|
Loading…
x
Reference in New Issue
Block a user