pipeline build v2 - b64 known hosts

This commit is contained in:
Josh 2025-07-31 13:56:22 +00:00
parent 6be35cbd9f
commit e688ef0c63

View File

@ -15,8 +15,9 @@ steps:
# Inject SSH key directly # Inject SSH key directly
gcloud secrets versions access latest \ gcloud secrets versions access latest \
--secret="STAGING_SSH_KEY" \ --secret="STAGING_KNOWN_HOSTS" \
--project="aptivaai-dev" > ~/.ssh/id_ed25519 --project="aptivaai-dev" | base64 -d > ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
# Sanity check: perform handshake # Sanity check: perform handshake