add ARGs to Dockerfiles 2nd stage
Some checks failed
/ release-and-build (push) Failing after 18s

This commit is contained in:
2026-02-12 15:23:18 +01:00
parent 14a1792b69
commit 7552dcf42d
2 changed files with 3 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
# Runtime stage # Runtime stage
FROM scratch FROM scratch
COPY --from=rootfs-stage /root-out/ / COPY --from=rootfs-stage /root-out/ /
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION ARG VERSION
ARG MODS_VERSION="v3" ARG MODS_VERSION="v3"

View File

@@ -46,6 +46,8 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
# Runtime stage # Runtime stage
FROM scratch FROM scratch
COPY --from=rootfs-stage /root-out/ / COPY --from=rootfs-stage /root-out/ /
ARG MAINTAINER
ARG APP_VERSION
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION ARG VERSION
ARG MODS_VERSION="v3" ARG MODS_VERSION="v3"