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.

6 Replies
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?
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).
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.
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
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


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?