Skip to content

Commit

Permalink
test docker nightly build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
namannandan committed Nov 9, 2023
1 parent 4ac3272 commit 263b89c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-nightly-build.yml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
8 changes: 4 additions & 4 deletions kubernetes/kserve/docker_nightly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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:
Expand Down

0 comments on commit 263b89c

Please sign in to comment.