File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,14 @@ bundle: manifests ## Generate bundle manifests and metadata, then validate gene
321
321
operator-sdk bundle validate ./bundle
322
322
323
323
.PHONY : image
324
- image : # # Build the operator image
324
+ image : # # Build an operator image for local development
325
+ $(MAKE ) bin/linux/amd64/manager TARGET_OS=linux TARGET_ARCH=amd64 VERSION=$(VERSION )
326
+ $(MAKE ) bin/linux/arm64/manager TARGET_OS=linux TARGET_ARCH=arm64 VERSION=$(VERSION )
327
+ $(CONTAINER_ENGINE ) build -f fast.Dockerfile --build-arg VERSION=$(VERSION ) -t $(OPERATOR_IMAGE ) .
328
+ $(CONTAINER_ENGINE ) push $(OPERATOR_IMAGE )
329
+
330
+ .PHONY : image-multiarch
331
+ image-multiarch : # # Build releaseable multi-architecture operator image
325
332
$(MAKE ) bin/linux/amd64/manager TARGET_OS=linux TARGET_ARCH=amd64 VERSION=$(VERSION )
326
333
$(MAKE ) bin/linux/arm64/manager TARGET_OS=linux TARGET_ARCH=arm64 VERSION=$(VERSION )
327
334
$(CONTAINER_ENGINE ) buildx create --use --name multiarch-builder \
You can’t perform that action at this time.
0 commit comments