mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 09:28:11 +00:00
GITHUB_TOKEN instead of dangerous PAT
This commit is contained in:
1 parent
7a3e98bd6b
commit
3ca18afceb
1 file changed
+1
-1
@@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Log into GitHub Container Registry
|
||||
# TODO: Create a PAT with `read:packages` and `write:packages` scopes and save it as an Actions secret `CR_PAT`
|
||||
run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Push image to GitHub Container Registry
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user