👷 使用 GITHUB_TOKEN 给 ghcr 鉴权

This commit is contained in:
naiba 2021-08-18 18:05:23 +08:00
parent 8ca11d4760
commit 25b72fd0c5

View File

@ -20,7 +20,7 @@ jobs:
- name: Log into registry
run: |
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
echo "${{ secrets.ALI_PAT }}" | docker login registry.cn-shanghai.aliyuncs.com -u ${{ secrets.ALI_USER }} --password-stdin
- name: Set up QEMU