Z
Zerops2mo ago
minsomai

invalid auth method

I added ssh key to repo (deploy keys) and zerops. After that I'm getting this. I need the deploy keys for submodule repos which are private currently.
No description
6 Replies
Aleš
Aleš2mo ago
Can you tell me a bit more about what you are trying to do? In your build command you are trying to fetch private submodules, so you are trying to set up ssh keys in Zerops? And I also see Docker there, what role does Docker play in this?
Michal Saloň
Michal Saloň2mo ago
If you have a private repo, which imports submodules from a different private repo under a different account, that is currently not supported in Zerops. You must authorize Zerops under an account that has access to all repositories (main one and ones with submodules).
minsomai
minsomaiOP2mo ago
yes, that is the case. I've put ssh keys in the deploy keys of the repo. But I'm planning to maybe build in github and push the built image to zerops. I'm not using Docker. I'm a user of that organization.
Aleš
Aleš2mo ago
I think your approach is essentially right, you need to add your ssh keys as env variables, pass them to build env variables then it's just a matter of proper setup
Aleš
Aleš2mo ago
the best way to go about this is set debug options to stop running the build commands, then get into the build container and try to set those commands up manually
No description
No description
Aleš
Aleš4w ago
when you are done, just add the same commands that worked manually into your zerops.yml and you should be done @minsomai did you manage to get it working?

Did you find this page helpful?