add network minitor.
Some checks failed
Deploy Docker Images / Build dockerfile and Server deploy (push) Failing after 10m46s
Deploy / Build (push) Failing after 6m40s

This commit is contained in:
amass 2024-11-09 20:23:41 +08:00
parent 71c91c9f88
commit c67e9ce40b
2 changed files with 4 additions and 12 deletions

View File

@ -2,21 +2,13 @@ name: Deploy
run-name: build and deploy app to server.
on: [push]
jobs:
PullDocker:
runs-on: [ubuntu-latest, ubuntu-24.04]
steps:
- name: Login to ACR
uses: aliyun/acr-login@v1
with:
login-server: https://registry.cn-shenzhen.aliyuncs.com
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Pull Docker image
run: docker pull registry.cn-shenzhen.aliyuncs.com/amass_toolset/ubuntu_dev:22.04
Build:
runs-on: [ubuntu-latest, ubuntu-24.04]
container:
image: registry.cn-shenzhen.aliyuncs.com/amass_toolset/ubuntu_dev:22.04
credentials:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
steps:
- name: Set up SSH
run: |

View File

@ -2,7 +2,7 @@ name: Deploy Docker Images
run-name: build and deploy docker image to server.
on: [push]
jobs:
Docusaurus build and Server deploy:
Build dockerfile and Server deploy:
runs-on: ubuntu-latest
steps:
- name: Set up SSH