diff --git a/Dockerfile b/Dockerfile index 125531f..95ac92a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,6 @@ LABEL maintainer="Antonio Mika " ENV CGO_ENABLED 0 -ARG VERSION=dev -ARG COMMIT=none -ARG DATE=unknown -ARG REPOSITORY=unknown - WORKDIR /app RUN mkdir -p /emptydir @@ -31,6 +26,11 @@ COPY --from=builder /root/.cache/go-build /go-build FROM builder as build-image +ARG VERSION=dev +ARG COMMIT=none +ARG DATE=unknown +ARG REPOSITORY=unknown + ARG TARGETOS ARG TARGETARCH