From 0d6a25d6ee2ff3d20f74f00af11c3f89df011b03 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 12 Aug 2024 09:16:50 +0200 Subject: [PATCH] env it Signed-off-by: Kristoffer Dalby --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99377b11..c42bedeb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,5 +51,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_SHA: ${{ github.sha }} run: | - ko build --tags=pr-${{ fromJson(steps.get_pr_data.outputs.result).number }},${{ github.sha }} ./cmd/headscale + ko build --tags=$TAG_PR_NAME,$TAG_SHA ./cmd/headscale