Skip to content

Commit 59a8e57

Browse files
feat: 更新构建
1 parent 659b0c2 commit 59a8e57

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ jobs:
5858
- name: Set up Docker Buildx
5959
uses: docker/setup-buildx-action@v4
6060

61+
- name: Login to GitHub Container Registry
62+
uses: docker/login-action@v4
63+
with:
64+
registry: ghcr.io
65+
username: ${{ github.repository_owner }}
66+
password: ${{ secrets.GITHUB_TOKEN }}
67+
6168
- uses: docker/build-push-action@v7
6269
with:
6370
context: .
@@ -71,6 +78,7 @@ jobs:
7178
outputs: type=local,dest=./
7279
cache-from: type=gha
7380
cache-to: type=gha,mode=max
81+
github-token: ${{ secrets.GH_TOKEN }}
7482

7583
- name: Upload artifacts
7684
uses: actions/upload-artifact@v7

0 commit comments

Comments
 (0)