Coder.comC
Coder.com6mo ago
9 replies
daschatten

Dockerfile + registry auth (gitlab): 403

In my templates i can pull images from my private gitlab instance in "docker_service" via "image". This is achieved by using "docker" provider with "registry_auth". Now i tried to use the same image but from a Dockerfile. This results in 403 (Forbidden). I added various combinations of the available options to "docker_image" -> "build" -> "auth_config" but i can't get it working. Any idea how to get this working?
Was this page helpful?