concourse / concourse/docker-image-resource

additional_private_registries is not working..?

Open
#348 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
162
Forks
250
PR merge metrics
No merged PRs in 30d

Description

Hi Team,

I configured additional_private_registries for authenticate private registry at FROM line(baseimage for Dockerfile).

but, it can't login private repogitry, and I can't fine any executable example from GitHub and the other websites...
(any log are not found about this setting, I expect Login Succeeded log from docker using log_in() )

ref:
https://github.com/concourse/docker-image-resource/blob/master/assets/common.sh
https://github.com/concourse/docker-image-resource/blob/master/assets/out

Can anyone make pipeline with additional_private_registries?

version:(docker image)
concourse/concourse:7.8.2-ubuntu-20220725

sorry for my english
thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading assets/common.sh and assets/out, focusing on how additional_private_registries is passed to log_in(). Reproduce the configuration with concourse/concourse:7.8.2-ubuntu-20220725 and a private registry. Done means the configured registry authentication works for the Dockerfile FROM image and its behavior is documented or covered by an executable example.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.