Skip to content

Commit 53c145d

Browse files
wyliIsaacYangSLA
andauthored
Fixes ci (#1416)
* temp tests Signed-off-by: Wenqi Li <[email protected]> * fixes typo Signed-off-by: Wenqi Li <[email protected]> * temp tests Signed-off-by: Wenqi Li <[email protected]> * fixes docker login warning Signed-off-by: Wenqi Li <[email protected]> * Revert "temp tests" This reverts commit 99c6d20. Signed-off-by: Wenqi Li <[email protected]> * Revert "temp tests" This reverts commit c529bf9. Signed-off-by: Wenqi Li <[email protected]> Co-authored-by: Isaac Yang <[email protected]>
1 parent 1f74ca2 commit 53c145d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
cron-docker:
5757
if: github.repository == 'Project-MONAI/MONAI'
5858
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
6060
options: "--gpus all"
6161
runs-on: [self-hosted, linux, x64, common]
6262
steps:

.github/workflows/setupapp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ jobs:
155155
# build once more w/ tag "latest": remove flake package as it is not needed on hub.docker.com
156156
sed -i '/flake/d' requirements-dev.txt
157157
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
161161
# 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
163163
docker push projectmonai/monai:latest
164164
docker logout
165165

0 commit comments

Comments
 (0)