Skip to content

Commit 27d19db

Browse files
adarshagrawal38kfswain
authored andcommitted
Fix issues
1 parent 6c98938 commit 27d19db

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,20 +196,15 @@ image-build: ## Build the EPP image using Docker Buildx.
196196
docker run --privileged --rm tonistiigi/binfmt --install all
197197
docker buildx inspect --bootstrap
198198

199-
@bash -ec '\
200-
PLATFORMS="$(PLATFORMS)"; \
201-
if echo "$(LOAD)" | grep -q -- "--load"; then \
202-
PLATFORMS=linux/amd64; \
203-
fi; \
204199
$(IMAGE_BUILD_CMD) -t $(IMAGE_TAG) \
205200
--platform=$$PLATFORMS \
206201
--build-arg BASE_IMAGE=$(BASE_IMAGE) \
207202
--build-arg BUILDER_IMAGE=$(BUILDER_IMAGE) \
208203
--build-arg COMMIT_SHA=${GIT_COMMIT_SHA} \
209204
--build-arg BUILD_REF=${BUILD_REF} \
210205
$(PUSH) \
211-
$(LOAD) \
212-
$(IMAGE_BUILD_EXTRA_OPTS) ./'
206+
$(IMAGE_BUILD_EXTRA_OPTS) ./
207+
docker pull $(IMAGE_TAG)
213208

214209
.PHONY: image-push
215210
image-push: PUSH=--push ## Build the EPP image and push it to $IMAGE_REPO.

0 commit comments

Comments
 (0)