-
Notifications
You must be signed in to change notification settings - Fork 553
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
github build-push-action@v2 with Private submodule fails. #646
Comments
None of these inputs exist for this action. Please review your workflow: https://github.com/docker/build-push-action/#inputs If you want to build with a Git context using a GitHub git repo, the GitHub Token does not need to be passed as explained in the README. You also don't need the "Checkout" step. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Troubleshooting
The github action "checkout" works fine on a private submodule when we pass the github token alongside. But the docker build-push-action fails with an error even though we pass the github token.
"git@github.com: Permission denied (publickey).
#1 1.420 fatal: Could not read from remote repository.
#1 1.420
#1 1.420 Please make sure you have the correct access rights
#1 1.420 and the repository exists."
Behaviour
The build-push-action fails with an error.
Steps to reproduce this issue
Expected behaviour
The text was updated successfully, but these errors were encountered: