Skip to content

Commit

Permalink
🐎 ci: 修改工作流文件
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanjunjie committed Jul 3, 2024
1 parent 975b487 commit 2e3a46e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ jobs:
- name: Update docker images
run: |
sudo su
docker pull swr.cn-north-4.myhuaweicloud.com/yuanjunjie/vue-vben-admin:dev
docker pull swr.cn-north-4.myhuaweicloud.com/yuanjunjie/nest-admin:dev
sudo docker pull swr.cn-north-4.myhuaweicloud.com/yuanjunjie/vue-vben-admin:dev
sudo docker pull swr.cn-north-4.myhuaweicloud.com/yuanjunjie/nest-admin:dev
- name: Login to Docker Registry
run: |
sudo su
docker login -u ${{ secrets.HUAWEI_CLOUD_USERNAME }} -p ${{ secrets.HUAWEI_CLOUD_PASSWORD }} swr.cn-north-4.myhuaweicloud.com
sudo docker login -u ${{ secrets.HUAWEI_CLOUD_USERNAME }} -p ${{ secrets.HUAWEI_CLOUD_PASSWORD }} swr.cn-north-4.myhuaweicloud.com
- name: Run
run: |
sudo su
docker compose -f docker-compose.yml up -d
sudo docker compose -f docker-compose.yml up -d
- name: Clear Docker Cache
run: |
Expand Down

0 comments on commit 2e3a46e

Please sign in to comment.