File tree 1 file changed +17
-4
lines changed
1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -133,28 +133,41 @@ verify: vet fmt-verify manifests generate ci-lint
133
133
134
134
# Build the container image
135
135
.PHONY : image-local-build
136
- image-local-build :
136
+ image-local-build : # # Build the EPP image for local development.
137
137
BUILDER=$(shell $(DOCKER_BUILDX_CMD ) create --use)
138
138
$(MAKE ) image-build PUSH=$(PUSH )
139
+ $(MAKE ) image-build LOAD=$(LOAD )
139
140
$(DOCKER_BUILDX_CMD ) rm $$ BUILDER
140
141
141
142
.PHONY : image-local-push
142
- image-local-push : PUSH=--push
143
+ image-local-push : PUSH=--push # # Build the EPP image for local development and push it to $IMAGE_REPO.
143
144
image-local-push : image-local-build
144
145
146
+ .PHONY : image-local-load
147
+ image-local-load : LOAD=--load # # Build and load the EPP image into the local Docker registry.
148
+ image-local-load : image-local-build
149
+
145
150
.PHONY : image-build
146
- image-build :
151
+ image-build : # # Build the EPP image using Docker Buildx.
147
152
$(IMAGE_BUILD_CMD ) -t $(IMAGE_TAG ) \
148
153
--platform=$(PLATFORMS ) \
149
154
--build-arg BASE_IMAGE=$(BASE_IMAGE ) \
150
155
--build-arg BUILDER_IMAGE=$(BUILDER_IMAGE ) \
151
156
$(PUSH ) \
157
+ $(LOAD ) \
152
158
$(IMAGE_BUILD_EXTRA_OPTS ) ./
153
159
154
160
.PHONY : image-push
155
- image-push : PUSH=--push
161
+ image-push : PUSH=--push # # Build the EPP image using Docker Buildx and push it to $IMAGE_REPO.
156
162
image-push : image-build
157
163
164
+ .PHONY : image-load
165
+ image-load : LOAD=--load # # Build and load the EPP image without additional local build steps.
166
+ image-load : image-build
167
+
168
+ .PHONY : kind-load
169
+ kind-load : image-build # # Build and load the EPP image to a kind cluster.
170
+ kind load docker-image $(IMAGE_TAG )
158
171
159
172
# #@ Docs
160
173
You can’t perform that action at this time.
0 commit comments