Skip to content

Commit 7fc5dd8

Browse files
authored
Merge branch 'master' into fix-typos-2
2 parents 4ea1256 + c585bc7 commit 7fc5dd8

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
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/build_upload_release.py

-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
dry_run,
4040
)
4141

42-
for image in [
43-
f"{organization}/torchserve-kfs:{check_ts_version()}-gpu",
44-
]:
45-
try_and_handle(f"docker push {image}", dry_run)
46-
4742
# Cleanup built images
4843
if args.cleanup:
4944
try_and_handle(f"docker system prune --all --volumes -f", dry_run)

kubernetes/kserve/docker_nightly.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,17 @@
4343
dry_run,
4444
)
4545

46-
# Push Nightly images to official PyTorch Dockerhub account
47-
try_and_handle(f"docker push {organization}/{gpu_version}", dry_run)
48-
4946
# Tag nightly images with latest
5047
try_and_handle(
5148
f"docker buildx imagetools create --tag {organization}/{project}:latest-cpu {organization}/{cpu_version}",
5249
dry_run,
5350
)
51+
5452
try_and_handle(
55-
f"docker tag {organization}/{gpu_version} {organization}/{project}:latest-gpu",
53+
f"docker buildx imagetools create --tag {organization}/{project}:latest-gpu {organization}/{gpu_version}",
5654
dry_run,
5755
)
5856

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

0 commit comments

Comments
 (0)