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