I have a
.gitlab-ci.yml very near if not identical to the informations provided by GitLab Container Registry | GitLab
build: image: docker:19.03.12 stage: build services: - docker:19.03.12-dind variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -f .docker/backend/Dockerfile -t $IMAGE_TAG . - docker push $IMAGE_TAG
If I push a change everything seems fine: A pipeline is started that succeed:
1 job for develop in 2 minutes and 23 seconds
However if other developers are pushing to the same branch the pipeline fails with
0 jobs for develop.
If I now manually trigger a pipeline run from the webinterface, select
develop as branch (no variables provided) then his commit also can be built perfectly fine.
Maybe I misconfigured something I don’t know of?
I tried to google for that but it seems I am missing the right direction to search for.