File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 56
56
cron-docker :
57
57
if : github.repository == 'Project-MONAI/MONAI'
58
58
container :
59
- image : localhost:5000/local_monai:stable # use currently latest, stable locally available docker image
59
+ image : localhost:5000/local_monai:dockerhub # use currently latest, locally available dockerhub image
60
60
options : " --gpus all"
61
61
runs-on : [self-hosted, linux, x64, common]
62
62
steps :
Original file line number Diff line number Diff line change @@ -155,11 +155,11 @@ jobs:
155
155
# build once more w/ tag "latest": remove flake package as it is not needed on hub.docker.com
156
156
sed -i '/flake/d' requirements-dev.txt
157
157
docker build -t projectmonai/monai:latest -f Dockerfile .
158
- # also push as tag "stable " to local registry
159
- docker build tag projectmonai/monai:latest localhost:5000/local_monai:stable
160
- docker push localhost:5000/local_monai:stable
158
+ # also push as tag "dockerhub " to local registry
159
+ docker image tag projectmonai/monai:latest localhost:5000/local_monai:dockerhub
160
+ docker push localhost:5000/local_monai:dockerhub
161
161
# distribute as always w/ tag "latest" to hub.docker.com
162
- docker login -u projectmonai -p ${{ secrets.DOCKER_PW }}
162
+ echo " ${{ secrets.DOCKER_PW }}" | docker login -u projectmonai --password-stdin
163
163
docker push projectmonai/monai:latest
164
164
docker logout
165
165
You can’t perform that action at this time.
0 commit comments