docker-build-push/test/Dockerfile-multi
CrazyMax 99bea387ee
Build push action v2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-08-16 00:36:41 +02:00

8 lines
212 B
Text

FROM --platform=$BUILDPLATFORM golang:alpine AS build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log
FROM alpine
COPY --from=build /log /log