Skip to content

Commit 5121c14

Browse files
committed
test=document_fix develop build docker
1 parent 31ece7d commit 5121c14

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/Build-develop.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ defaults:
1111
shell: bash
1212

1313
env:
14-
dockerfile: Dockerfile.cuda11.2_cudnn8_gcc82_trt8
15-
docker_image: d5fc7ddda08c
1614
COMMIT_ID: ${{ github.sha }}
1715
work_dir: /paddle
1816
PADDLE_ROOT: /paddle
@@ -23,8 +21,13 @@ env:
2321
no_proxy: "bcebos.com,apiin.im.baidu.com,gitee.com,aliyun.com,.baidu.com,.tuna.tsinghua.edu.cn"
2422

2523
jobs:
24+
build-docker:
25+
name: Develop build docker
26+
uses: ./.github/workflows/docker.yml
27+
2628
build:
2729
name: Build
30+
needs: build-docker
2831
runs-on:
2932
group: GZ_BD-CPU
3033
steps:
@@ -74,6 +77,8 @@ jobs:
7477
run: |
7578
container_name=${TASK}-$(date +%Y%m%d-%H%M%S)
7679
echo "container_name=${container_name}" >> ${{ github.env }}
80+
docker_image=${{ needs.build-docker.outputs.docker_build_image }}
81+
docker pull $docker_image
7782
docker run -d -t --name ${container_name} \
7883
-v "/home/data/cfs:/home/data/cfs" \
7984
-v "/home/data/cfs/.cache:/root/.cache" \

0 commit comments

Comments
 (0)