"git@developer.sourcefind.cn:OpenDAS/Uni-Core.git" did not exist on "d01a62ef6872945dce77588313edd5e72039acad"
Commit d1dc264d authored by Guolin Ke's avatar Guolin Ke
Browse files

parallelize the docker build

parent 07f95057
...@@ -31,10 +31,3 @@ jobs: ...@@ -31,10 +31,3 @@ jobs:
context: ./docker/cu116/ context: ./docker/cu116/
push: true push: true
tags: dptechnology/unicore:${{ github.ref_name }}-pytorch1.12.1-cuda11.6 tags: dptechnology/unicore:${{ github.ref_name }}-pytorch1.12.1-cuda11.6
-
name: Build and push cu116 with rdma
uses: docker/build-push-action@v3
with:
context: ./docker/rdma/
push: true
tags: dptechnology/unicore:${{ github.ref_name }}-pytorch1.12.1-cuda11.6-rdma
...@@ -31,10 +31,3 @@ jobs: ...@@ -31,10 +31,3 @@ jobs:
context: ./docker/cu116/ context: ./docker/cu116/
push: true push: true
tags: dptechnology/unicore:latest-pytorch1.12.1-cuda11.6 tags: dptechnology/unicore:latest-pytorch1.12.1-cuda11.6
-
name: Build and push cu116 with rdma
uses: docker/build-push-action@v3
with:
context: ./docker/rdma/
push: true
tags: dptechnology/unicore:latest-pytorch1.12.1-cuda11.6-rdma
name: Build and Publish Docker
on:
create:
tags:
- '**'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push cu116 with rdma
uses: docker/build-push-action@v3
with:
context: ./docker/rdma/
push: true
tags: dptechnology/unicore:${{ github.ref_name }}-pytorch1.12.1-cuda11.6-rdma
name: Build and Publish Docker
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push cu116 with rdma
uses: docker/build-push-action@v3
with:
context: ./docker/rdma/
push: true
tags: dptechnology/unicore:latest-pytorch1.12.1-cuda11.6-rdma
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment