mirror of https://github.com/bastienwirtz/homer
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 #881pull/887/head
parent
12a004a9e1
commit
2a0387f90e
|
@ -17,6 +17,8 @@ RUN pnpm build
|
||||||
# production stage
|
# production stage
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
|
|
||||||
|
ARG VERSION_TAG
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
org.label-schema.schema-version="1.0" \
|
org.label-schema.schema-version="1.0" \
|
||||||
org.label-schema.version="$VERSION_TAG" \
|
org.label-schema.version="$VERSION_TAG" \
|
||||||
|
|
Loading…
Reference in New Issue