Skip to content

Add ssh key to fetch cog-trt-llm #5

Add ssh key to fetch cog-trt-llm

Add ssh key to fetch cog-trt-llm #5

Workflow file for this run

name: "CI build"
on: [push]
jobs:
build:
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v10
- name: Setup Attic cache
uses: ryanccn/attic-action@v0
with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: replicate
token: ${{ secrets.ATTIC_TOKEN }}
- 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