Fix Docker image is broken.

Thanks to titver968, planet-goldfish, xet7 and Claude !

Fixes #6369
This commit is contained in:
Lauri Ojansivu committed 2026-06-11 20:04:04 +03:00
1 parent 5c9407f729
commit 928db8d675
2 files changed
+7 -1

No files matched your search

+4 -1
View File
@@ -535,8 +535,11 @@ jobs:
# ─── 8. Build and push the multi-arch Docker image to all registries ────────
# Mirrors releases/docker-build.sh step 3 (multi-arch buildx --push).
# Needs `release` because the Dockerfile downloads wekan-<version>-<arch>.zip
# from the GitHub Release; building before those assets exist 404s and (without
# set -e in the Dockerfile) shipped a broken image missing /build/main.js.
docker:
needs: prepare
needs: [prepare, release]
runs-on: ubuntu-latest
env:
VERSION: ${{ needs.prepare.outputs.version }}
+3
View File
@@ -160,6 +160,9 @@ ENV \
RUN <<EOR
set -o xtrace
# Fail hard on any error so a missing release zip / failed download can never
# produce a "successful" image with an empty /build (Cannot find /build/main.js).
set -eo pipefail
# Create Wekan user
useradd --user-group --system --home-dir /home/wekan wekan