After username change, pipeline unable to pull registry image (unauthorized HTTP Basic: Access denied)
Summary
Hey, after changing username Lexinek -> JanMikes (temporarily reverting back to Lexinek because i was unable to solve this issue and it is critical to be able to run pipelines!
This is failing (repository is in group Apploud
so it should be able to pull the image):
stages:
- build
image: registry.gitlab.com/apploud/docker/webserver:latest
composer:
stage: build
script:
- composer install --no-interaction --ansi --prefer-dist --optimize-autoloader --ignore-platform-reqs
artifacts:
paths:
- vendor/
expire_in: 24h
Steps to reproduce
Trigger a pipeline with image from private gitlab registry after changing username
Example Project
Tested on private repositories only.
What is the current bug behavior?
When runner is trying to pull image from private gitlab's docker registry it fails on Access Denied.
Does not work neither with shared or private self hosted runners
What is the expected correct behavior?
Image gets pulled and pipeline finishes successfully.
Relevant logs and/or screenshots
Before (or after revert) username change:
Output of checks
This bug happens on GitLab.com