feat: add GHCR Docker image publishing with multi-arch support
Add GitHub Actions workflow to automatically build and publish Docker images to ghcr.io on releases. Supports amd64 and arm64 architectures. Pre-built image available at ghcr.io/root-fr/jmap-webmail.
This commit is contained in:
@@ -6,6 +6,14 @@ COPY . .
|
||||
RUN npx next build --webpack
|
||||
|
||||
FROM node:24-alpine AS runner
|
||||
|
||||
LABEL org.opencontainers.image.title="JMAP Webmail"
|
||||
LABEL org.opencontainers.image.description="Modern webmail client built with Next.js and the JMAP protocol"
|
||||
LABEL org.opencontainers.image.source="https://github.com/root-fr/jmap-webmail"
|
||||
LABEL org.opencontainers.image.url="https://github.com/root-fr/jmap-webmail"
|
||||
LABEL org.opencontainers.image.licenses="MIT"
|
||||
LABEL org.opencontainers.image.vendor="root.cloud"
|
||||
|
||||
WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
RUN addgroup --system --gid 1001 nodejs && \
|
||||
|
||||
Reference in New Issue
Block a user