GIt commit
Some checks failed
Publish nx-webmail Image (Gitea) / publish (push) Has been cancelled

This commit is contained in:
2026-02-23 13:03:32 +01:00
parent 4eca638529
commit e165594808
4 changed files with 12 additions and 12 deletions

View File

@@ -25,12 +25,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
- name: Log in to Gitea Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
registry: git.weektab.org
username: ${{ secrets.GITEA_USERNAME }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Read app version
id: meta
@@ -42,7 +42,7 @@ jobs:
exit 1
fi
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "image=ghcr.io/weektab/nx-webmail" >> "$GITHUB_OUTPUT"
echo "image=git.weektab.org/nexus/nx-webmail" >> "$GITHUB_OUTPUT"
- name: Build and push image
id: build

View File

@@ -24,13 +24,13 @@ Umbrel installation is most reliable when your app uses a prebuilt image from a
1. Recommended: use the GitHub Action `.github/workflows/publish-nx-webmail-image.yml`.
- For Gitea use `.gitea/workflows/publish-nx-webmail-image.yml`.
- Required Gitea secrets: `GHCR_USERNAME`, `GHCR_TOKEN`, `GITEA_USERNAME`, `GITEA_TOKEN`.
- Required Gitea secrets: `GITEA_USERNAME`, `GITEA_TOKEN`.
2. The workflow reads `version` from `nx-webmail/umbrel-app.yml` and publishes:
- `ghcr.io/weektab/nx-webmail:<version>`
- `ghcr.io/weektab/nx-webmail:latest`
- `git.weektab.org/nexus/nx-webmail:<version>`
- `git.weektab.org/nexus/nx-webmail:latest`
3. The workflow then pins `nx-webmail/docker-compose.yml` to `tag@sha256:digest` automatically.
4. Manual fallback:
docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/weektab/nx-webmail:1.0.1 --push .
docker buildx build --platform linux/amd64,linux/arm64 -t git.weektab.org/nexus/nx-webmail:1.0.1 --push .
## Umbrel app packaging
@@ -55,7 +55,7 @@ This repository is prepared for Umbrel app-store usage.
Notes:
- Umbrel uses the `app_proxy` service in `docker-compose.yml`.
- Internal app port is `3001`.
- `server` uses a prebuilt registry image (`ghcr.io/weektab/nx-webmail:1.0.1`).
- `server` uses a prebuilt registry image (`git.weektab.org/nexus/nx-webmail:1.0.1`).
- If your store prefix changes, update `id` in `umbrel-app.yml` and `APP_HOST` in `docker-compose.yml`.
## Notes

View File

@@ -7,7 +7,7 @@ services:
APP_PORT: 3001
server:
image: ghcr.io/weektab/nx-webmail:1.0.1
image: git.weektab.org/nexus/nx-webmail:1.0.1
init: true
restart: on-failure
stop_grace_period: 1m

View File

@@ -1,4 +1,4 @@
{
{
"name": "weektab-webmail-standalone",
"version": "1.0.0",
"private": true,