Skip to content

Commit

Permalink
add back pr attempt in hope for more perms
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Aug 12, 2024
1 parent 10a9eda commit 610223d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
})
).data;
).data[0];
- name: Pull Request data
run: |
Expand All @@ -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

0 comments on commit 610223d

Please sign in to comment.