GITHUB_TOKEN instead of dangerous PAT

This commit is contained in:
Brandon Thomas committed 2021-05-10 23:49:06 -04:00
1 parent 7a3e98bd6b
commit 3ca18afceb
1 file changed
+1 -1
+1 -1
View File
@@ -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: |