You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add properties ssh-key-raw to provide Base64 string of SSH key (not path to file) and custom-cert-raw to provide Base64 string of custom server certificate.
I tried to use this plugin in a Woodpecker with a Kubernetes backend. I can't add Docker volume to clone step, and I can't execute any command (for example to create a file). So I can not create any file and only set values to properties.
I think it will be great if a user can provide a secret's values directly to properties.
The text was updated successfully, but these errors were encountered:
Here is the suggestion to use normal git commands like this, which will need to change the ssh-key file permission and add the known_hosts in to list.
Below we suppose the git host is github.com :
pull_key will leave in the default workspace. If we use woodpeckerci/plugin-git to fetch the repo, the ~/.ssh/known_hosts needs to be add further. Now I use the clone like the following:
It's very inconvenient to use a special alpine image just to make such a simple operation, and it makes the woodpecker yaml file unnecessarily bloated...
Please add properties
ssh-key-raw
to provide Base64 string of SSH key (not path to file) andcustom-cert-raw
to provide Base64 string of custom server certificate.I tried to use this plugin in a Woodpecker with a Kubernetes backend. I can't add Docker volume to clone step, and I can't execute any command (for example to create a file). So I can not create any file and only set values to properties.
I think it will be great if a user can provide a secret's values directly to properties.
The text was updated successfully, but these errors were encountered: