Closed SuperSandro2000 closed 3 years ago
Could you provide a copy of your .gitlab-ci.yml
file please ?
variables:
IMAGE: docker-registry.company.com/group/repo/ci
build-image:
stage: build
tags:
- docker-host
only:
refs:
- master
changes:
- continuous_integration/Dockerfile
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t "$IMAGE" -f continuous_integration/Dockerfile .
- docker push "$IMAGE"
Ok so the issue was that GitLab uses the ruby:2.5
docker image by default if no image is specified, which I did not know. Should be fixed in https://github.com/mdubourg001/glci/releases/tag/v0.4.3.
Thanks for reporting 👌
My user does not have the docker group and I normally run docker with sudo. Might this be the cause of the crash?