Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

params definition is not clear #106

Open
qh-hale opened this issue Nov 15, 2022 · 2 comments
Open

params definition is not clear #106

qh-hale opened this issue Nov 15, 2022 · 2 comments

Comments

@qh-hale
Copy link

qh-hale commented Nov 15, 2022

Hi,
I read the document: https://github.com/concourse/oci-build-task#params, the description is not clear:

$REGISTRY_MIRRORS (default empty): registry mirrors to use for docker.io.

If I set like this, does that means it will pull image 'node:12' from xxx.test.com instead of docker.io:
[taks configuration]

params:
  REGISTRY_MIRRORS: xxx.test.com

[Dockerfile]
FROM node:12

@ammar-esrawi
Copy link

Any have any idea how to configure the REGISTRY_MIRRORS

I am using this and it is not working

            CONTEXT: source-code/
            BUILD_ARG_BUILD_PROFILE: test
            REGISTRY_MIRRORS:
              - host: ((sfDockerMirror.host))
              - username: ((sfDockerMirror.username))
              - password: ((sfDockerMirror.password))

not working

the task still trying to fetch images from docker.io

@ammar-esrawi
Copy link

@qh-hale did you find any working example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants