From edcf241c3e67c30786e6e617b219f2e9ca9fcef6 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 26 Apr 2025 20:56:53 -0400 Subject: chore(release): fix package builds Signed-off-by: Xe Iaso --- .github/workflows/release.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3f59f6d..8992814 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,15 @@ name: Cut Release on: workflow_dispatch: {} + +permissions: + contents: write + actions: write + packages: write + jobs: release: - runs-on: ubuntu-latest + runs-on: alrest-x steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -50,6 +56,14 @@ jobs: restore-keys: | ${{ runner.os }}-golang- + - name: Log into registry + if: github.event_name != 'pull_request' + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 + with: + registry: ghcr.io + username: xe + password: ${{ secrets.GHCR_PUSH }} + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 - name: release env: -- cgit v1.2.3