diff --git a/.github/workflows/docker-nightly-build.yml b/.github/workflows/docker-nightly-build.yml index 84da16c69dd..9875cd1e708 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] diff --git a/kubernetes/kserve/docker_nightly.py b/kubernetes/kserve/docker_nightly.py index 209c0d976e3..148cc901b60 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: