Merge pull request 'fix: 修复 deploy 工作流缺少 Docker 导致构建失败的问题' (#73) from fix/workflow-fix into develop
Reviewed-on: http://8.161.227.145:3000/XEngineers/CamTalk/pulls/73
This commit was merged in pull request #73.
This commit is contained in:
@@ -12,10 +12,11 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: aliyun
|
||||
steps:
|
||||
- name: Setup Node.js
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
apk add --no-cache nodejs
|
||||
apk add --no-cache nodejs docker docker-cli-compose
|
||||
dockerd &
|
||||
|
||||
- name: Checkout
|
||||
uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
|
||||
@@ -35,10 +36,11 @@ jobs:
|
||||
if: github.event_name == 'push'
|
||||
runs-on: aliyun
|
||||
steps:
|
||||
- name: Setup Node.js
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
apk add --no-cache nodejs
|
||||
apk add --no-cache nodejs docker docker-cli-compose
|
||||
dockerd &
|
||||
|
||||
- name: Checkout
|
||||
uses: "http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4"
|
||||
|
||||
Reference in New Issue
Block a user