mirror of https://github.com/hpcaitech/ColossalAI
[workflow] fixed workflow check for docker build (#3849)
parent
d42b1be09d
commit
ae959a72a5
|
@ -8,7 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Publish Docker Image to DockerHub
|
name: Publish Docker Image to DockerHub
|
||||||
if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI'
|
if: github.repository == 'hpcaitech/ColossalAI'
|
||||||
runs-on: [self-hosted, gpu]
|
runs-on: [self-hosted, gpu]
|
||||||
container:
|
container:
|
||||||
image: "hpcaitech/docker-in-docker:latest"
|
image: "hpcaitech/docker-in-docker:latest"
|
||||||
|
|
Loading…
Reference in New Issue