Skip to content

Commit

Permalink
fix: remove id in main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JingYiJun committed Jun 12, 2024
1 parent 21b6e5d commit 872d552
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@master

- name: Login to ACR
- name: Login to Aliyun ACR
uses: aliyun/acr-login@master
with:
login-server: https://registry.cn-shanghai.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Build and push
id: docker_build
- name: Build and push Aliyun ACR
uses: docker/build-push-action@master
with:
push: true
Expand All @@ -41,8 +40,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
- name: Build and push to DockerHub
uses: docker/build-push-action@master
with:
push: true
Expand Down

0 comments on commit 872d552

Please sign in to comment.