Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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