Skip to content

Commit 665d2ea

Browse files
committed
fix registry and perms
1 parent 082736a commit 665d2ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ghcr-push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build and Push Docker Image
22

3+
permissions:
4+
contents: write
5+
packages: write
6+
37
on:
48
push:
59
branches:
@@ -16,6 +20,7 @@ jobs:
1620
- name: Log in to GitHub Container Registry
1721
uses: docker/login-action@v3
1822
with:
23+
registry: ghcr.io
1924
username: ${{ github.actor }}
2025
password: ${{ secrets.GITHUB_TOKEN }}
2126

0 commit comments

Comments
 (0)