run ko with nix

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2024-08-12 09:48:47 +02:00
parent aba61ceb1b
commit 9a4c7e4446
No known key found for this signature in database

View File

@ -60,5 +60,4 @@ jobs:
# TAG_PR_NAME: pr-${{ fromJson(steps.get_pr_data.outputs.result).number }} # TAG_PR_NAME: pr-${{ fromJson(steps.get_pr_data.outputs.result).number }}
TAG_SHA: ${{ github.sha }} TAG_SHA: ${{ github.sha }}
run: | run: |
echo $TAG_PR_NAME nix develop --command -- ko build --tags=$TAG_SHA ./cmd/headscale
ko build --tags=$TAG_SHA ./cmd/headscale