-
Notifications
You must be signed in to change notification settings - Fork 551
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
Logging in to two Docker registries? #59
Comments
FYI, if your containers do not have the same name, this is a workaround
|
This will be available through build-push-action v2 (#92) and more precisely the login-action. Can you try it? |
Version 2 has been merged to the main branch and is therefore available via As a reminder, this new version changes drastically and works with 3 new actions (login, setup-buildx and setup-qemu) that we have created. Many usage examples have been added to handle most use cases. And it should fix this current issue. Don't hesitate if you have any questions. |
I'm trying to build a docker container, from a private container on dockerhub, and push it to the github registry.
For public dockerhub packages, this works splendidly
But for a private container, this fails because we are not logged in to DockerHub.
I tried to add the following before the build-push-action, but that does not get picked up
Any ideas on how to do this?
The text was updated successfully, but these errors were encountered: