Add Forgejo workflows: build and test on PRs, publish the image from main #6

Merged
sophie merged 1 commit from forgejo-workflows into main 2026-10-17 00:22:46 +11:00
Collaborator

Two Forgejo workflows, modelled on simpleplayer-svc's.

  • PR Checks (pull_request): builds the image, then the test target, so swift test runs on Linux with Debian's ffmpeg.
  • Build Docker Image (push to main): tags with the commit sha and main, pushes to code.m.ac.nz/containers/simpleplayer-helper.

The push workflow needs two repo secrets that may not exist yet: SIMPLEPLAYER_HELPER_USER and SIMPLEPLAYER_HELPER_TOKEN (a token that can write to the containers org packages), following svc's SIMPLEPLAYER_SVC_* naming.

This PR itself exercises the PR Checks workflow.

🤖 Generated with Claude Code

Two Forgejo workflows, modelled on simpleplayer-svc's. - **PR Checks** (`pull_request`): builds the image, then the `test` target, so `swift test` runs on Linux with Debian's ffmpeg. - **Build Docker Image** (push to `main`): tags with the commit sha and `main`, pushes to `code.m.ac.nz/containers/simpleplayer-helper`. The push workflow needs two repo secrets that may not exist yet: `SIMPLEPLAYER_HELPER_USER` and `SIMPLEPLAYER_HELPER_TOKEN` (a token that can write to the `containers` org packages), following svc's `SIMPLEPLAYER_SVC_*` naming. This PR itself exercises the PR Checks workflow. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add Forgejo workflows: build and test on PRs, publish the image from main
Some checks failed
PR Checks / build-and-test (pull_request) Failing after 3s
337191771c
Modelled on simpleplayer-svc's. PR Checks builds the image and the test
target (swift test on Linux with Debian's ffmpeg); Build Docker Image tags
with the commit sha and main and pushes to code.m.ac.nz/containers/
simpleplayer-helper, logging in with the SIMPLEPLAYER_HELPER_USER and
SIMPLEPLAYER_HELPER_TOKEN secrets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
myagent force-pushed forgejo-workflows from 337191771c
Some checks failed
PR Checks / build-and-test (pull_request) Failing after 3s
to e67a5766b4
All checks were successful
PR Checks / build-and-test (pull_request) Successful in 2m24s
2026-10-16 23:53:23 +11:00
Compare
sophie merged commit c824c222d0 into main 2026-10-17 00:22:46 +11:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
sophie/simpleplayer-helper!6
No description provided.