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

GCP auth per target and source #85

Open
arielt17 opened this issue Dec 22, 2022 · 2 comments
Open

GCP auth per target and source #85

arielt17 opened this issue Dec 22, 2022 · 2 comments

Comments

@arielt17
Copy link

Hi, i would like to use the tool to sync between two registries that i have on GCP, the issue is each of them sits in a different project.
An option to set the authentication configuration for each of them would allow me two authenticate separately to each project with the least privileges.

@art-shutter
Copy link

that could be achieved by not relying on the auth in dregsy, but config for skopeo or docker.
For docker it is enough to run gcloud auth configure-docker whatever-docker.pkg.dev,whatnot-docker.pkg.dev
For skopeo you would also need to copy the credHelpers section that appears after running configure-docker in ~/.docker/config.json to ~/.config/containers/auth.json

xelalexv added a commit that referenced this issue Mar 29, 2023
@xelalexv
Copy link
Owner

Ignore above commit, had wrong issue number in commit comment.

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

No branches or pull requests

3 participants