We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b1b92 commit d38246eCopy full SHA for d38246e
1 file changed
.github/workflows/release.yml
@@ -7,18 +7,28 @@ on:
7
8
permissions:
9
contents: write
10
+ packages: write
11
12
jobs:
- goreleaser:
13
+ release:
14
runs-on: ubuntu-latest
15
steps:
16
- name: Checkout
17
uses: actions/checkout@v4
18
with:
19
fetch-depth: 0
20
+
21
- name: Set up Go
22
uses: actions/setup-go@v5
- - name: Run GoReleaser
23
24
+ - name: Login to GitHub Container Registry
25
+ uses: docker/login-action@v3
26
+ with:
27
+ registry: ghcr.io
28
+ username: ${{ github.actor }}
29
+ password: ${{ secrets.GITHUB_TOKEN }}
30
31
+ - name: Run GoReleaser to build and release
32
uses: goreleaser/goreleaser-action@v6
33
34
distribution: goreleaser
0 commit comments