This commit is contained in:
@@ -8,6 +8,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: xw-runner
|
runs-on: xw-runner
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
# 必须挂载 docker.sock 才能在容器内控制宿主机 Docker
|
||||||
|
options: -v /var/run/docker.sock:/var/run/docker.sock
|
||||||
steps:
|
steps:
|
||||||
# 1. 手动检出代码 (零外部依赖,解决拉取 Action 慢的问题)
|
# 1. 手动检出代码 (零外部依赖,解决拉取 Action 慢的问题)
|
||||||
- name: Checkout (Native)
|
- name: Checkout (Native)
|
||||||
|
|||||||
Reference in New Issue
Block a user