Add Forgejo Actions deploy pipeline #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/deploy-process"
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?
Summary
v*tag (plus manualworkflow_dispatch)Containerfileis single-stage, COPY-only, cross-built for arm64 withbuildahunprivileged from an x86_64 runner — the JS build happens separately in thebuildjob, so the image build never needs to execute an arm64 binarylatesttracks releases only (v*tag pushes); branch pushes get a floating tag named after the branch; every push also gets an immutablesha-<short>tag — computed byscripts/compute-image-tags.sh, unit-tested inscripts/compute-image-tags.test.shand now run in CITest plan
npm run build(typecheck + vite build) passesscripts/compute-image-tags.test.shpasses (branch, sanitized-branch, and version-tag cases)yamllint .forgejo/workflows/deploy.yml— no structural issues (3 pre-existing cosmetic warnings only)buildah-equivalent build ofContainerfileproduces a genuinearm64/linuximage (confirmed via inspect), withdist/andnginx.conflanding correctly (confirmed viacreate+cp, since the resulting binary can't execute on this x86_64 host)git.lordran.netrunner building/pushing an image for the first time (buildah has never run there before) — trigger viaworkflow_dispatchafter merge to confirmClaude-Session: https://claude.ai/code/session_01DwLQcBa7NumJTmN4fxeJey