From 67c396d60189740e3a93a66fa1dd6bc731c44aaa Mon Sep 17 00:00:00 2001 From: Arian van Putten Date: Sat, 16 Dec 2023 12:49:06 +0100 Subject: [PATCH] use nix run (#24) --- .github/workflows/upload-ami.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/upload-ami.yml b/.github/workflows/upload-ami.yml index 997f45d..d48a66f 100644 --- a/.github/workflows/upload-ami.yml +++ b/.github/workflows/upload-ami.yml @@ -29,5 +29,4 @@ jobs: role-to-assume: arn:aws:iam::686862074153:role/upload-ami aws-region: eu-central-1 - name: Upload AMIs - run: | - nix develop --command python3 ./upload_ami/cli.py --image-info ./result/nix-support/image-info.json --s3-bucket images20231124161256194400000001 --run-id ${{ github.run_id}} \ No newline at end of file + run: nix run .#upload-ami -- --image-info ./result/nix-support/image-info.json --s3-bucket images20231124161256194400000001 --run-id ${{ github.run_id}} \ No newline at end of file