docs: update artifact jobspec sshkey example path. (#17077)

This commit is contained in:
James Rasell
2023-05-04 15:29:36 +02:00
committed by GitHub
parent aabb1e8a09
commit 06e877f26b

View File

@@ -141,7 +141,7 @@ artifact {
# Make sure that the system known hosts file is populated:
# ssh-keyscan github.com | sudo tee -a /etc/ssh/ssh_known_hosts
# https://github.com/hashicorp/go-getter/issues/55
sshkey = "${base64encode(file("/etc/ssh/ssh_known_hosts"))}"
sshkey = "${base64encode(file("/path/to/private-key"))}"
}
}
```