mirror of
https://github.com/root-fr/jmap-webmail.git
synced 2026-09-23 00:01:13 +00:00
Community PRs and targeted feature work. Highlights: Features - Archive now operates on the whole conversation, matching Gmail (#49) - Russian and Ukrainian locales, full translation sets (#59 @VsevolodSauta) - Custom favicon with unread badge painted over the base mail icon; also fixes stale sidebar counters on JMAP push (#63 @jabiinfante) - Optional domain-favicon avatars with a privacy-preserving proxy and a freemail denylist so the same provider logo isn't shown for every sender on a shared host (#22) Fixes - Print (Ctrl+P, button, menu) produces a clean single-column page for plain text and HTML emails alike, with actions/reply panels hidden, dark-mode overridden, and wide newsletters shrunk to fit A4 - Contacts now load past 500 entries by batching ContactCard/get to the server's maxObjectsInGet (#45 @capitanroy, #46) - Sieve filter destinations use the full Parent/Child folder path so Stalwart can resolve them (#62 @travier) - OIDC over plain HTTP shows a clear HTTPS-required banner instead of throwing crypto.subtle is undefined (#23 @jothoma1) - Missing contacts delete-confirm translation keys added to every locale (only Dutch had them before) - Favicon badge hook stopped tearing out Next.js's managed icon link, fixing a parentNode-is-null crash on route changes - Contact empty-state action buttons fit their container (#56) - Print layout excludes sidebar/list (#55 @prastowoagungwidodo) Docs - README example for OAUTH_ONLY=true to disable Basic Auth (#61 @travier) Infrastructure - Container images also published under jmap-webmail:1 for major-tag pinning (#57 @joelpurra, closes #54)
77 lines
1.9 KiB
YAML
77 lines
1.9 KiB
YAML
name: Publish Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "Dockerfile"
|
|
- ".dockerignore"
|
|
- "app/**"
|
|
- "components/**"
|
|
- "contexts/**"
|
|
- "hooks/**"
|
|
- "lib/**"
|
|
- "stores/**"
|
|
- "locales/**"
|
|
- "public/**"
|
|
- "package.json"
|
|
- "package-lock.json"
|
|
- ".github/workflows/docker-publish.yml"
|
|
tags: ["v*.*.*"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Log in to Docker Hub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Extract metadata
|
|
id: meta
|
|
uses: docker/metadata-action@v5
|
|
with:
|
|
images: |
|
|
rootfr/jmap-webmail
|
|
ghcr.io/${{ github.repository }}
|
|
tags: |
|
|
type=raw,value=latest,enable={{is_default_branch}}
|
|
type=semver,pattern={{version}}
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
type=semver,pattern={{major}}
|
|
type=sha,prefix=
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
platforms: linux/amd64,linux/arm64
|
|
push: true
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|