Skip to content

Commit

Permalink
save4
Browse files Browse the repository at this point in the history
  • Loading branch information
markliu2013 committed Jan 2, 2024
1 parent eb36e08 commit 8a688ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-image-ali.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
password: "${{ secrets.ACR_PASSWORD }}"
- name: Build and Push Docker Image
env:
IMAGE_TAG: ${{ github.sha }} # 用于标记容器版本号
run: |
docker build -t registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:$IMAGE_TAG --file ./moneynote-api-user/Dockerfile .
docker push registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:$IMAGE_TAG
docker build -t registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest --file ./moneynote-api-user/Dockerfile .
docker push registry.cn-hangzhou.aliyuncs.com/moneywhere/moneywhere-api-user:latest

0 comments on commit 8a688ec

Please sign in to comment.