drone-ssh
drone-ssh copied to clipboard
Secrets from Organization does not get taken
Hi all
I have created a secret per Organization as described on https://docs.drone.io/secret/organization/ that it is used in the pipeline:
---
kind: pipeline
type: docker
name: Play with ssh
steps:
- name: Promote to STAGE
image: appleboy/drone-ssh
settings:
host: ci.example.io
username: admin
password:
from_secret: ssh_password
port: 22
script:
- echo "Welcome SSH"
- ls -la
trigger:
branch:
- master
The secret does not get recognized from Per Organization
but it recognizes when I put the secret in
Why it does not work the secret from Per Organization
?
Thanks
I will try it.
Did you check this? Organization secrets can be used by any repository that belongs to the named organization. (source)
I was having problems with organization secrets to I started to use repo secrets
I faced same issue here I created an organization secret from the dashboard and it didn't work while it works from the repository