From 263b89c068dcbabb78b22c5e5fa6e6f68def646d Mon Sep 17 00:00:00 2001 From: Naman Nandan Date: Wed, 8 Nov 2023 16:50:44 -0800 Subject: [PATCH] test docker nightly build fix --- .github/workflows/docker-nightly-build.yml | 5 ++--- kubernetes/kserve/docker_nightly.py | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) 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: