Skip to content

Commit 385ed7a

Browse files
committed
changing nightly push
1 parent b2c917c commit 385ed7a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

kubernetes/kserve/build_image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ cp -r ../../third_party .
6666
if [ "${MULTI}" == "true" ]; then
6767
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE --platform "${ARCH}" -t "$DOCKER_TAG" --push .
6868
else
69-
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE -t "$DOCKER_TAG" --load .
69+
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE -t "$DOCKER_TAG" --push .
7070
fi

kubernetes/kserve/docker_nightly.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,12 @@
5151
f"docker buildx imagetools create --tag {organization}/{project}:latest-cpu {organization}/{cpu_version}",
5252
dry_run,
5353
)
54+
5455
try_and_handle(
55-
f"docker tag {organization}/{gpu_version} {organization}/{project}:latest-gpu",
56+
f"docker buildx imagetools create --tag {organization}/{project}:latest-gpu {organization}/{gpu_version}",
5657
dry_run,
5758
)
5859

59-
# Push images with latest tag
60-
try_and_handle(f"docker push {organization}/{project}:latest-gpu", dry_run)
61-
6260
# Cleanup built images
6361
if args.cleanup:
6462
try_and_handle(f"docker system prune --all --volumes -f", dry_run)

0 commit comments

Comments
 (0)