Build the web image in CI on release tags only #202
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!202
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-201-web-image-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New web-image workflow: on a v* tag it builds the image in the job's own Docker daemon, runs it next to a lyskomd, checks it from outside (tools/web-image-check.py: page, wasm type, security headers, a Protocol A handshake through /relay, a foreign origin refused with 4006) and only then pushes X.Y.Z, git- and latest. Manual runs push only a given test tag. tools/web-image.sh no longer tags latest; release.sh no longer builds the image. D-053; KUBERNETES/DOCKER/DESIGN updated.
Verified: locally (NO_PUSH, all checks pass); in CI by a manual run (#339) that built, checked and pushed ci-test with REGISTRY_TOKEN; latest stayed at the 0.4.0 digest; ci-test deleted afterwards. Also ran the 0.4.0 image locally with Lysator's securityContext (uid 999, read-only root, caps dropped): all checks pass.
Closes #201
🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8