aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-26 20:56:53 -0400
committerXe Iaso <me@xeiaso.net>2025-04-26 20:56:53 -0400
commitedcf241c3e67c30786e6e617b219f2e9ca9fcef6 (patch)
tree47c277b123ff932c391804414fedbe3805082da6
parentc3b373494bf183061422a9b862c494c92f9efbbe (diff)
downloadx-edcf241c3e67c30786e6e617b219f2e9ca9fcef6.tar.xz
x-edcf241c3e67c30786e6e617b219f2e9ca9fcef6.zip
chore(release): fix package builds
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--.github/workflows/release.yaml16
1 files changed, 15 insertions, 1 deletions
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: