diff --git a/.github/workflows/docker-nightly-build.yml b/.github/workflows/docker-nightly-build.yml index 9e6528deb5..90dbcc3fff 100644 --- a/.github/workflows/docker-nightly-build.yml +++ b/.github/workflows/docker-nightly-build.yml @@ -1,9 +1,8 @@ name: Push Docker Nightly on: - # run every day at 1:15pm - schedule: - - cron: "15 13 * * *" + push + jobs: nightly: runs-on: [self-hosted, ci-gpu] @@ -28,10 +27,6 @@ jobs: env: DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} run: docker login --username pytorchbot --password "$DOCKER_PASSWORD" - - name: Push Docker Nightly - run: | - cd docker - python docker_nightly.py --cleanup - name: Push KServe Docker Nightly run: | cd kubernetes/kserve diff --git a/kubernetes/kserve/docker_nightly.py b/kubernetes/kserve/docker_nightly.py index 209c0d976e..148cc901b6 100644 --- a/kubernetes/kserve/docker_nightly.py +++ b/kubernetes/kserve/docker_nightly.py @@ -44,8 +44,8 @@ ) # Push Nightly images to official PyTorch Dockerhub account - try_and_handle(f"docker push {organization}/{cpu_version}", dry_run) - try_and_handle(f"docker push {organization}/{gpu_version}", dry_run) + # try_and_handle(f"docker push {organization}/{cpu_version}", dry_run) + # try_and_handle(f"docker push {organization}/{gpu_version}", dry_run) # Tag nightly images with latest try_and_handle( @@ -58,8 +58,8 @@ ) # Push images with latest tag - try_and_handle(f"docker push {organization}/{project}:latest-cpu", dry_run) - try_and_handle(f"docker push {organization}/{project}:latest-gpu", dry_run) + # try_and_handle(f"docker push {organization}/{project}:latest-cpu", dry_run) + # try_and_handle(f"docker push {organization}/{project}:latest-gpu", dry_run) # Cleanup built images if args.cleanup: