Skip to content

Commit

Permalink
[Fix] 🐛 Docker image Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Aug 10, 2023
1 parent d359380 commit 3a0a955
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ jobs:
with:
timezone: Asia/Shanghai

- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_TOKEN }}

- name: Login to DockerHub
uses: docker/login-action@v2
with:
Expand All @@ -97,9 +90,7 @@ jobs:
file: ./docker/Dockerfile
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:latest
docker.io/${{ github.repository }}:${{ github.ref_name }}
docker.io/${{ github.repository }}:latest
docker.io/zklcdc/go-proxy-bingai:${{ github.ref_name }}
docker.io/zklcdc/go-proxy-bingai:latest
cache-from: type=registry,ref=${{ github.repository }}:cache
cache-to: type=registry,ref=${{ github.repository }}:cache,mode=max

0 comments on commit 3a0a955

Please sign in to comment.