add network minitor.
This commit is contained in:
parent
71c91c9f88
commit
c67e9ce40b
@ -2,21 +2,13 @@ name: Deploy
|
|||||||
run-name: build and deploy app to server.
|
run-name: build and deploy app to server.
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
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:
|
Build:
|
||||||
runs-on: [ubuntu-latest, ubuntu-24.04]
|
runs-on: [ubuntu-latest, ubuntu-24.04]
|
||||||
container:
|
container:
|
||||||
image: registry.cn-shenzhen.aliyuncs.com/amass_toolset/ubuntu_dev:22.04
|
image: registry.cn-shenzhen.aliyuncs.com/amass_toolset/ubuntu_dev:22.04
|
||||||
|
credentials:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
run: |
|
run: |
|
||||||
|
@ -2,7 +2,7 @@ name: Deploy Docker Images
|
|||||||
run-name: build and deploy docker image to server.
|
run-name: build and deploy docker image to server.
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
Docusaurus build and Server deploy:
|
Build dockerfile and Server deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
|
Loading…
Reference in New Issue
Block a user