pipeline build v2 - b64 known hosts
This commit is contained in:
parent
6be35cbd9f
commit
e688ef0c63
@ -15,8 +15,9 @@ steps:
|
||||
|
||||
# Inject SSH key directly
|
||||
gcloud secrets versions access latest \
|
||||
--secret="STAGING_SSH_KEY" \
|
||||
--project="aptivaai-dev" > ~/.ssh/id_ed25519
|
||||
--secret="STAGING_KNOWN_HOSTS" \
|
||||
--project="aptivaai-dev" | base64 -d > ~/.ssh/known_hosts
|
||||
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
# Sanity check: perform handshake
|
||||
|
Loading…
Reference in New Issue
Block a user