ci: use ssh-key
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-08-14 14:02:50 +01:00
parent bb3f51c4f6
commit e535751c97
2 changed files with 7 additions and 7 deletions

View File

@ -22,8 +22,8 @@ steps:
- guacamole_postgres_user
host:
from_secret: ssh-host
password:
from_secret: ssh-password
key:
from_secret: ssh-key
port:
from_secret: ssh-port
script:
@ -47,8 +47,8 @@ steps:
command_timeout: 2m
host:
from_secret: ssh-host
password:
from_secret: ssh-password
key:
from_secret: ssh-key
port:
from_secret: ssh-port
source:
@ -95,8 +95,8 @@ steps:
- registry_password
host:
from_secret: ssh-host
password:
from_secret: ssh-password
key:
from_secret: ssh-key
port:
from_secret: ssh-port
script:

View File

@ -5,7 +5,7 @@ local environment = import '../node_modules/@sigyl/jsonnet-drone-environment/env
host: environment.fromSecret('ssh-host'),
port: environment.fromSecret('ssh-port'),
username: environment.fromSecret('ssh-user'),
password: environment.fromSecret('ssh-password'),
key: environment.fromSecret('ssh-key'),
},
},
}