Skip to content

Commit 29ff3f8

Browse files
committed
Fixed issue building multiplatform images
docker/build-push-action#820
1 parent cdb0917 commit 29ff3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CMD mvn -gs settings.xml test; \
1414
mkdir -p /tests && \
1515
cp target/surefire-reports/* /tests/
1616

17-
FROM azul/zulu-openjdk-alpine:21 as deploy
17+
FROM --platform=$BUILDPLATFORM azul/zulu-openjdk-alpine:21 as deploy
1818
WORKDIR app
1919
COPY --from=builder app/dependencies/ ./
2020
RUN true

0 commit comments

Comments
 (0)