Skip to content

Commit 8019f76

Browse files
committed
Specify platform linux/amd64 for building image
Using ci-test.sh with unset USE_RHTAP_IMAGES environment variable fails on platforms different from linux/amd64. `make build-image` builds an image for the platform it detects. It can be different from linux/amd64 which the CI providers require. Signed-off-by: Tomáš Nevrlka <[email protected]>
1 parent 706e538 commit 8019f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ push-image:
159159

160160
.PHONY: build-image
161161
build-image:
162-
podman build $(if $(NOCACHE),--no-cache) -f Dockerfile -t $(floating-tag)
162+
podman build $(if $(NOCACHE),--no-cache) -f Dockerfile -t $(floating-tag) --platform linux/amd64
163163
podman tag $(floating-tag) $(unique-tag)
164164

165165
.PHONY: run-image

0 commit comments

Comments
 (0)