feat: Git-Tag-basierte Versionierung (Alpha/Beta/Release statt Commit-Hash)

This commit is contained in:
2026-02-22 14:12:32 +01:00
parent e9e2e67991
commit fd79065519
7 changed files with 52 additions and 16 deletions

View File

@@ -32,7 +32,8 @@ COPY static/ ./static/
ARG GIT_COMMIT=unknown
ARG GIT_BRANCH=unknown
ARG GIT_COMMIT_DATE=unknown
RUN echo "{\"commit\": \"$GIT_COMMIT\", \"branch\": \"$GIT_BRANCH\", \"date\": \"$GIT_COMMIT_DATE\"}" > /app/version.json
ARG GIT_TAG=unknown
RUN echo "{\"tag\": \"$GIT_TAG\", \"commit\": \"$GIT_COMMIT\", \"branch\": \"$GIT_BRANCH\", \"date\": \"$GIT_COMMIT_DATE\"}" > /app/version.json
# Allow git to operate in the /app-source volume (owner may differ from container user)
RUN git config --global --add safe.directory /app-source