Skip to content

Commit 7523b2e

Browse files
authored
fix: prevent double-build when pushing llmisvc-controller image (kserve#5207)
Signed-off-by: Edgar Hernández <23639005+israel-hdez@users.noreply.github.com>
1 parent f9fd4f8 commit 7523b2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ docker-push:
451451
docker push ${KO_DOCKER_REPO}/${CONTROLLER_IMG}
452452

453453
docker-build-llmisvc:
454-
${ENGINE} buildx build ${ARCH} --build-arg GOTAGS=${GOTAGS} -t ${KO_DOCKER_REPO}/${LLMISVC_CONTROLLER_IMG} -f llmisvc-controller.Dockerfile .
454+
${ENGINE} buildx build ${ARCH} --load --build-arg GOTAGS=${GOTAGS} -t ${KO_DOCKER_REPO}/${LLMISVC_CONTROLLER_IMG} -f llmisvc-controller.Dockerfile .
455455

456456
docker-push-llmisvc: docker-build-llmisvc
457-
${ENGINE} buildx build ${ARCH} --build-arg GOTAGS=${GOTAGS} --push -t ${KO_DOCKER_REPO}/${LLMISVC_CONTROLLER_IMG} -f llmisvc-controller.Dockerfile .
457+
${ENGINE} push ${KO_DOCKER_REPO}/${LLMISVC_CONTROLLER_IMG}
458458

459459
docker-build-localmodel:
460460
${ENGINE} buildx build ${ARCH} -t ${KO_DOCKER_REPO}/${LOCALMODEL_CONTROLLER_IMG} -f localmodel.Dockerfile .

0 commit comments

Comments
 (0)