This commit is contained in:
@ -12,6 +12,9 @@ jobs:
|
||||
- name: 释放内存
|
||||
run: docker system prune -a -f
|
||||
|
||||
- name: 设置 Docker Buildx
|
||||
run: docker buildx create --use
|
||||
|
||||
- name: 拉取自定义 checkout action
|
||||
run: git clone http://114.67.155.184:3000//niyyzf/checkout.git ./.actions/checkout
|
||||
|
||||
@ -23,7 +26,7 @@ jobs:
|
||||
max-attempts: 5
|
||||
|
||||
- name: 构建 Docker 镜像
|
||||
run: docker build -t watch-stock-list:latest .
|
||||
run: docker build --cache-from type=gha --cache-to type=gha,mode=max -t watch-stock-list:latest .
|
||||
|
||||
- name: 启动/重启服务(Docker Compose)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user