add back pr attempt in hope for more perms

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2024-08-12 10:04:42 +02:00
parent 10a9eda893
commit 610223df67
No known key found for this signature in database

View file

@ -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