about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-05-19 10:32:21 +0200
committerAlan Pearce2024-05-19 10:32:21 +0200
commitd7485c5f7ace65db560d8023906d079928e11822 (patch)
treec0bc07ad1004d97dea0aded6f5c1a0b211fdd251
parente362831422e1a48b9ef231c5db36588939133fb1 (diff)
downloadnix-packages-d7485c5f7ace65db560d8023906d079928e11822.tar.lz
nix-packages-d7485c5f7ace65db560d8023906d079928e11822.tar.zst
nix-packages-d7485c5f7ace65db560d8023906d079928e11822.zip
ci: add host public key
-rw-r--r--.build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 22ac4ad..d6b5fec 100644
--- a/.build.yml
+++ b/.build.yml
@@ -8,9 +8,13 @@ environment:
     experimental-features = nix-command flakes
     extra-substituters = https://binarycache.alanpearce.eu
     extra-trusted-public-keys = binarycache.alanpearce.eu:ZwqO3XMuajPictjwih8OY2+RXnOKpjZEZFHJjGSxAI4=
+  SSH_KNOWN_HOSTS: |
+    linde.alanpearce.eu ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHdh3J7dEmh9G+CVmzFEC8/ont35ZXpCFcpLUO863vC
 repositories:
   nixpkgs: https://nixos.org/channels/nixpkgs-unstable
 tasks:
+  - ssh_config: |
+      echo $SSH_KNOWN_HOSTS >> ~/.ssh/known_hosts
   - nixpkgs: |
       nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'