Skip to content

Commit 61c99a3

Browse files
committed
use GITHUB_TOKEN to upload images
1 parent aee8b6d commit 61c99a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: write
10+
packages: write
1011

1112
jobs:
1213
goreleaser:
@@ -28,7 +29,7 @@ jobs:
2829
with:
2930
registry: ghcr.io
3031
username: ${{ github.repository_owner }}
31-
password: ${{ secrets.GH_TOKEN }}
32+
password: ${{ secrets.GITHUB_TOKEN }}
3233
-
3334
name: Login to Docker Hub
3435
uses: docker/login-action@v3
@@ -53,4 +54,4 @@ jobs:
5354
version: latest
5455
args: release --rm-dist
5556
env:
56-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)