fix(ci): build-oci workflow aligned on modaka/studio #2

Merged
crapougnax merged 1 commit from fix/ci-build-oci into develop 2026-11-10 16:18:28 +00:00
Member

Replaces .forgejo/workflows/build-oci.yaml with the workflow validated on modaka/studio (image modaka/app).

  • Login: organisation secrets REGISTRY_USER / REGISTRY_TOKEN only; explicit failure when missing. The old workflow fell back to github.actor + GITHUB_TOKEN, which cannot push to the registry.
  • Tags: PR → build only; push develop → :develop, :sha-<7>; tag vX.Y.Z → :X.Y.Z, :X.Y, :latest. Branches (incl. feat/**) no longer publish :latest.
  • Build checked locally: podman build --platform linux/arm64 OK, container answers 200 on :4000.

Based on chore/pre-launch-cleanup (#1): merge #1 first.

If the push to develop still fails at login: check for repository-level REGISTRY_USER/REGISTRY_TOKEN secrets on modaka/app overriding the organisation ones (same cause as on studio).

🤖 Generated with Claude Code

Replaces `.forgejo/workflows/build-oci.yaml` with the workflow validated on `modaka/studio` (image `modaka/app`). - Login: organisation secrets `REGISTRY_USER` / `REGISTRY_TOKEN` only; explicit failure when missing. The old workflow fell back to `github.actor` + `GITHUB_TOKEN`, which cannot push to the registry. - Tags: PR → build only; push develop → `:develop`, `:sha-<7>`; tag `vX.Y.Z` → `:X.Y.Z`, `:X.Y`, `:latest`. Branches (incl. `feat/**`) no longer publish `:latest`. - Build checked locally: `podman build --platform linux/arm64` OK, container answers 200 on :4000. Based on `chore/pre-launch-cleanup` (#1): merge #1 first. If the push to develop still fails at login: check for **repository-level** `REGISTRY_USER`/`REGISTRY_TOKEN` secrets on modaka/app overriding the organisation ones (same cause as on studio). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- CORE_DIR has no machine-specific default; local Core aliases apply only when it is set
- Nominatim and Wikipedia requests identify Modaka by its repository URL
- example hub URLs use hub.example.org
- HOWTO links are relative
- test fixture uses a neutral name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- title matches the repository description
- model providers documented (Gemini, OpenAI-compatible, local Ollama)
- unimplemented traceability, governed sharing and Q/A tests listed under Roadmap
- CI badge instead of a hardcoded test count
- link to the public Quatrain Core repository and to ./LICENSE
- AGENTS.md names git.qtrn.io as the canonical repository

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ContentItem required gemini.model even when another provider was active;
it now uses llm.model first, like the ingestion queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The repository moved to the modaka organisation; the workflow still pushed
to quatrain/modaka. Same layout as modaka/studio, whose build succeeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore: align licence, author and repository metadata
All checks were successful
Modaka Sovereign CI / Test & Build Validation (pull_request) Successful in 1m6s
9f3edc5e99
- package.json: author Quatrain Technologies SAS, repository on git.qtrn.io
- Containerfile labels: AGPL-3.0-only, vendor, source on git.qtrn.io

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(ci): build-oci workflow aligned on modaka/studio
All checks were successful
Modaka Sovereign CI / Test & Build Validation (pull_request) Successful in 1m12s
Build and Publish OCI Image / Build & Push ARM64 OCI Image (pull_request) Successful in 1m15s
d68e329319
- Login with the organisation secrets REGISTRY_USER / REGISTRY_TOKEN only,
  explicit failure when missing (no GITHUB_TOKEN fallback).
- Pull requests build without pushing; develop publishes :develop and
  :sha-<7>; tags vX.Y.Z publish :X.Y.Z, :X.Y and :latest. Branches never
  publish :latest.
- OCI revision label.

The ARM64 build itself passes (podman, linux/arm64): the failure was in the
login/push part.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crapougnax merged commit 26eabcfa89 into develop 2026-11-10 16:18:28 +00:00
crapougnax deleted branch fix/ci-build-oci 2026-11-10 16:18:28 +00: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
modaka/app!2
No description provided.