From 2a0387f90e781c2c6ae85736269e8a4a152f52ab Mon Sep 17 00:00:00 2001 From: Molham Al Nasr Date: Fri, 28 Feb 2025 10:09:14 +0100 Subject: [PATCH] fix(Dockerfile): ensure VERSION_TAG is correctly passed as a build argument The VERSION_TAG label was not correctly set in the built image due to a missing ARG definition in the Dockerfile. This commit adds ARG VERSION_TAG so that the build argument can be properly passed and used in image labels. Fixes #881 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 99ea180..d0fe3ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,8 @@ RUN pnpm build # production stage FROM alpine:3.21 +ARG VERSION_TAG + LABEL \ org.label-schema.schema-version="1.0" \ org.label-schema.version="$VERSION_TAG" \