@@ -332,7 +332,7 @@ scorecard-tests: operator-sdk
332
332
.PHONY : container
333
333
container : GOOS = linux
334
334
container : manager
335
- docker build -t ${IMG} .
335
+ docker build --load - t ${IMG} .
336
336
337
337
# Push the container image, used only for local dev purposes
338
338
.PHONY : container-push
@@ -350,17 +350,17 @@ container-operator-opamp-bridge-push:
350
350
.PHONY : container-target-allocator
351
351
container-target-allocator : GOOS = linux
352
352
container-target-allocator : targetallocator
353
- docker build -t ${TARGETALLOCATOR_IMG} cmd/otel-allocator
353
+ docker build --load - t ${TARGETALLOCATOR_IMG} cmd/otel-allocator
354
354
355
355
.PHONY : container-operator-opamp-bridge
356
356
container-operator-opamp-bridge : GOOS = linux
357
357
container-operator-opamp-bridge : operator-opamp-bridge
358
- docker build -t ${OPERATOROPAMPBRIDGE_IMG} cmd/operator-opamp-bridge
358
+ docker build --load - t ${OPERATOROPAMPBRIDGE_IMG} cmd/operator-opamp-bridge
359
359
360
360
.PHONY : container-bridge-test-server
361
361
container-bridge-test-server : GOOS = linux
362
362
container-bridge-test-server :
363
- docker build -t ${BRIDGETESTSERVER_IMG} tests/test-e2e-apps/bridge-server
363
+ docker build --load - t ${BRIDGETESTSERVER_IMG} tests/test-e2e-apps/bridge-server
364
364
365
365
.PHONY : start-kind
366
366
start-kind : kind
@@ -551,7 +551,7 @@ reset: kustomize operator-sdk manifests
551
551
# Build the bundle image, used only for local dev purposes
552
552
.PHONY : bundle-build
553
553
bundle-build :
554
- docker build -f ./bundle/$(BUNDLE_VARIANT ) /bundle.Dockerfile -t $(BUNDLE_IMG ) ./bundle/$(BUNDLE_VARIANT )
554
+ docker build --load - f ./bundle/$(BUNDLE_VARIANT ) /bundle.Dockerfile -t $(BUNDLE_IMG ) ./bundle/$(BUNDLE_VARIANT )
555
555
556
556
.PHONY : bundle-push
557
557
bundle-push :
0 commit comments