1194: Fix issues with collection synchronization

Task-Url: https://pm.winseda.de/issues/1194
7 jobs for master in 1 second
Status Job ID Name Coverage
  Build
failed #17004
build

00:00:01

 
  Test
skipped #17006
allowed to fail
code_quality
skipped #17010
allowed to fail
container_scanning
skipped #17009
allowed to fail
dependency_scanning
skipped #17007
allowed to fail
license_management
skipped #17008
allowed to fail
sast
skipped #17005
test
 
Name Stage Failure
failed
build Build
Skipping Git submodules setup
$ # Auto DevOps variables and functions # collapsed multi-line command
$ setup_docker
$ build
Logging to GitLab Container Registry with CI credentials...
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.38/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default: https://index.docker.io/v1/
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/auth: dial unix /var/run/docker.sock: connect: permission denied
ERROR: Job failed: exit status 1