Skip to content

Commit

Permalink
test for harbor7
Browse files Browse the repository at this point in the history
  • Loading branch information
Seriainme committed Jun 23, 2024
1 parent c92fe02 commit 0a09349
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ jobs:
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}

- name: 构建并标记镜像
run: |
docker build -t http://39.107.141.11:80/test/${{ github.repository }}:${{ env.SHORT_SHA }} -f ./Dockerfile .
- name: 推送镜像到 Harbor
run: docker push http://39.107.141.11:80/test/${{ github.repository }}:${{ env.SHORT_SHA }}
- run: |
docker build . -t http://39.107.141.11:80/test/toast:${{ github.sha }}
docker push http://39.107.141.11:80/test/toast:${{ github.sha }}

0 comments on commit 0a09349

Please sign in to comment.