mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-04-24 10:38:19 -05:00
feat: enhance versioning in workflows and application
- Updated build-release and canary-release workflows to include version arguments. - Modified Dockerfile to set QS_VERSION environment variable. - Added method to retrieve current QuickStack version in the service. - Passed current version to QuickStackVersionInfo component in maintenance page. - Improved README and CONTRIBUTING documentation for clarity.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
FROM node:18-alpine AS base
|
||||
|
||||
ARG VERSION_ARG
|
||||
|
||||
RUN apk add --no-cache openssl
|
||||
|
||||
# Install dependencies only when needed
|
||||
@@ -60,6 +62,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/node_modules ./node_modules
|
||||
USER nextjs
|
||||
|
||||
ENV PORT=3000
|
||||
ENV QS_VERSION=$VERSION_ARG
|
||||
|
||||
# server.js is created by next build from the standalone output
|
||||
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
|
||||
|
||||
Reference in New Issue
Block a user