From 55b93014bc6ec1d28b0ae5a125129536820e72d5 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Tue, 9 Apr 2024 16:42:16 +0200 Subject: [PATCH] Add ssh key to fetch cog-trt-llm --- .github/workflows/nix.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 2a82a2a..0a68557 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -14,7 +14,14 @@ jobs: endpoint: ${{ secrets.ATTIC_ENDPOINT }} cache: replicate token: ${{ secrets.ATTIC_TOKEN }} - # - run: nix build --accept-flake-config .#cog-triton-builder -o cog-triton-builder + - name: Get ssh key from secret + env: + GIT_SSH_KEY: ${{ secrets.GIT_SSH_KEY }} + run: | + mkdir -p .ssh + cat > .ssh/id_ed25519 <<< "$GIT_SSH_KEY" + chmod 0600 .ssh/id_ed25519 + - run: nix build --accept-flake-config .#cog-triton-builder -o cog-triton-builder - run: nix build --accept-flake-config .#cog-triton-runner-86 -o cog-triton-runner-86 - run: nix build --accept-flake-config .#cog-triton-runner-80 -o cog-triton-runner-80 - run: nix build --accept-flake-config .#cog-triton-runner-90 -o cog-triton-runner-90