Skip to content

Commit

Permalink
💩 ghcr 在搞什么鬼?
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Aug 18, 2021
1 parent 25b72fd commit 2d30b2c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Log into registry
run: |
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: Log in to the GHCR
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to the AliyunCS
uses: docker/login-action@master
with:
registry: registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.ALI_USER }}
password: ${{ secrets.ALI_PAT }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down

0 comments on commit 2d30b2c

Please sign in to comment.