File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -66,5 +66,5 @@ cp -r ../../third_party .
66
66
if [ " ${MULTI} " == " true" ]; then
67
67
DOCKER_BUILDKIT=1 docker buildx build --file " $DOCKER_FILE " --build-arg BASE_IMAGE=$BASE_IMAGE --platform " ${ARCH} " -t " $DOCKER_TAG " --push .
68
68
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 .
70
70
fi
Original file line number Diff line number Diff line change 51
51
f"docker buildx imagetools create --tag { organization } /{ project } :latest-cpu { organization } /{ cpu_version } " ,
52
52
dry_run ,
53
53
)
54
+
54
55
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 } " ,
56
57
dry_run ,
57
58
)
58
59
59
- # Push images with latest tag
60
- try_and_handle (f"docker push { organization } /{ project } :latest-gpu" , dry_run )
61
-
62
60
# Cleanup built images
63
61
if args .cleanup :
64
62
try_and_handle (f"docker system prune --all --volumes -f" , dry_run )
You can’t perform that action at this time.
0 commit comments