mirror of
https://github.com/bastienwirtz/homer.git
synced 2026-01-23 02:15:09 +00:00
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
This commit is contained in:
parent
12a004a9e1
commit
2a0387f90e
1 changed files with 2 additions and 0 deletions
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue