From 610223df67ffbbb94e1444db947f7588cb817632 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 12 Aug 2024 10:04:42 +0200 Subject: [PATCH] add back pr attempt in hope for more perms Signed-off-by: Kristoffer Dalby --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 029ed323..c9fae63b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, }) - ).data; + ).data[0]; - name: Pull Request data run: | @@ -55,7 +55,7 @@ jobs: if: steps.changed-files.outputs.files == 'true' env: KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }}/headscale - # 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 }} run: | - nix develop --command -- ko build --tags=$TAG_SHA ./cmd/headscale + nix develop --command -- ko build --tags=$TAG_SHA,$TAG_PR_NAME ./cmd/headscale