Skip to content

Commit

Permalink
Fixes ci (#1416)
Browse files Browse the repository at this point in the history
* temp tests

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes typo

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* temp tests

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes docker login warning

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* Revert "temp tests"

This reverts commit 99c6d20.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* Revert "temp tests"

This reverts commit c529bf9.

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

Co-authored-by: Isaac Yang <isaacy@nvidia.com>
  • Loading branch information
wyli and IsaacYangSLA authored Jan 7, 2021
1 parent 1f74ca2 commit 53c145d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
cron-docker:
if: github.repository == 'Project-MONAI/MONAI'
container:
image: localhost:5000/local_monai:stable # use currently latest, stable locally available docker image
image: localhost:5000/local_monai:dockerhub # use currently latest, locally available dockerhub image
options: "--gpus all"
runs-on: [self-hosted, linux, x64, common]
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/setupapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ jobs:
# build once more w/ tag "latest": remove flake package as it is not needed on hub.docker.com
sed -i '/flake/d' requirements-dev.txt
docker build -t projectmonai/monai:latest -f Dockerfile .
# also push as tag "stable" to local registry
docker build tag projectmonai/monai:latest localhost:5000/local_monai:stable
docker push localhost:5000/local_monai:stable
# also push as tag "dockerhub" to local registry
docker image tag projectmonai/monai:latest localhost:5000/local_monai:dockerhub
docker push localhost:5000/local_monai:dockerhub
# distribute as always w/ tag "latest" to hub.docker.com
docker login -u projectmonai -p ${{ secrets.DOCKER_PW }}
echo "${{ secrets.DOCKER_PW }}" | docker login -u projectmonai --password-stdin
docker push projectmonai/monai:latest
docker logout
Expand Down

0 comments on commit 53c145d

Please sign in to comment.