ci: forgejo workflows for next-image builds and tagged releases #5

Merged
w33ble merged 7 commits from ci/forgejo-workflows into main 2026-09-01 20:26:28 -06:00
Collaborator

Adds Forgejo Actions CI:

  • .forgejo/workflows/build-next.yaml — push to main → multi-arch (amd64/arm64) image pushed as git.w33ble.com/w33ble/lagom:next
  • .forgejo/workflows/release.yaml — tag v* → cross-compiled binaries, multi-arch image as :vX.Y.Z + :vX + :latest (rolling tags skipped for prereleases), Forgejo release with binaries attached

Cross-compilation uses actions/setup-go@v7 + native GOOS/GOARCH builds; images are assembled by Dockerfile.ci, which consumes prebuilt binaries (no QEMU/emulation needed).

Required secrets before merge (Settings → Actions → Secrets):

  • REGISTRY_USER — Forgejo username
  • REGISTRY_TOKEN — PAT with write:package + read:package
  • RELEASE_TOKEN — PAT with write:repository

README updated with a CI/CD section.

Adds Forgejo Actions CI: - `.forgejo/workflows/build-next.yaml` — push to `main` → multi-arch (amd64/arm64) image pushed as `git.w33ble.com/w33ble/lagom:next` - `.forgejo/workflows/release.yaml` — tag `v*` → cross-compiled binaries, multi-arch image as `:vX.Y.Z` + `:vX` + `:latest` (rolling tags skipped for prereleases), Forgejo release with binaries attached Cross-compilation uses `actions/setup-go@v7` + native `GOOS/GOARCH` builds; images are assembled by `Dockerfile.ci`, which consumes prebuilt binaries (no QEMU/emulation needed). **Required secrets before merge (Settings → Actions → Secrets):** - `REGISTRY_USER` — Forgejo username - `REGISTRY_TOKEN` — PAT with `write:package` + `read:package` - `RELEASE_TOKEN` — PAT with `write:repository` README updated with a CI/CD section.
TMP run next build on PR, skip push
Some checks failed
build-next / docker (pull_request) Failing after 2m24s
876fbe2040
hijynx force-pushed ci/forgejo-workflows from 876fbe2040
Some checks failed
build-next / docker (pull_request) Failing after 2m24s
to cf1bbf3bf0
Some checks failed
build-next / docker (pull_request) Failing after 2m30s
2026-09-01 18:55:10 -06:00
Compare
hijynx force-pushed ci/forgejo-workflows from cf1bbf3bf0
Some checks failed
build-next / docker (pull_request) Failing after 2m30s
to 8c4d65cc34
Some checks failed
build-next / docker (pull_request) Failing after 2m23s
2026-09-01 19:29:08 -06:00
Compare
hijynx force-pushed ci/forgejo-workflows from 8c4d65cc34
Some checks failed
build-next / docker (pull_request) Failing after 2m23s
to bd2a19405b
All checks were successful
build-next / docker (pull_request) Successful in 2m42s
2026-09-01 19:31:41 -06:00
Compare
hijynx force-pushed ci/forgejo-workflows from bd2a19405b
All checks were successful
build-next / docker (pull_request) Successful in 2m42s
to ddf548c3bd
All checks were successful
build-next / docker (pull_request) Successful in 2m38s
2026-09-01 19:41:19 -06:00
Compare
hijynx force-pushed ci/forgejo-workflows from ddf548c3bd
All checks were successful
build-next / docker (pull_request) Successful in 2m38s
to a0720c3c20
All checks were successful
test / test (pull_request) Successful in 2m4s
2026-09-01 20:21:14 -06:00
Compare
hijynx force-pushed ci/forgejo-workflows from a0720c3c20
All checks were successful
test / test (pull_request) Successful in 2m4s
to bcf6416ea7
All checks were successful
test / test (pull_request) Successful in 1m2s
build-next / docker (push) Successful in 3m3s
2026-09-01 20:24:39 -06:00
Compare
w33ble approved these changes 2026-09-01 20:26:15 -06:00
w33ble merged commit bcf6416ea7 into main 2026-09-01 20:26:28 -06:00
w33ble deleted branch ci/forgejo-workflows 2026-09-01 20:26:29 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
w33ble/lagom!5
No description provided.