Skip to content

feat(ci): publish the five Trinity images to GHCR on release — the unshipped half of the #2280 hosted-install gate #2452

Closed as not planned

Description

@obasilakis

Summary

Add a release workflow that builds and publishes the five Trinity images to GHCR on every release tag, with public (anonymous) pull access. This is #2280's AC1, carved out because it is the single unchecked item blocking every marketplace and one-click channel, and it was invisible inside an issue labelled status-in-dev.

Context

docker-compose.hosted.yml, scripts/deploy/start.sh --hosted, and the #2281 Packer bundle all shipped against a registry contract that nothing satisfies. There is no publish workflow in the repo:

$ grep -rln "ghcr.io" .github/workflows/     → (nothing)
$ curl -s -o /dev/null -w "%{http_code}\n" \
    https://ghcr.io/v2/abilityai/trinity-{backend,frontend,mcp-server,scheduler,agent-base}/tags/list
  401  401  401  401  401

Consequence: packer build for the DigitalOcean 1-Click (#2281) fails at its first docker pull, and any operator following the documented --hosted path fails at start.sh:524. #2280 is labelled status-in-dev with this AC unchecked, so the blocker reads as done.

Downstream: #2281 (DigitalOcean), #2282 (Vultr), #2283 (Hostinger/Dokploy), #835 (GCP/Hetzner Packer). Epic #2332 names #2280 "the P1 gate; everything else depends on it" — this is the half of that gate which has not landed.

The contract (already fixed by three consumers)

requirement set by
repos ghcr.io/abilityai/trinity-{backend,frontend,scheduler,mcp-server,agent-base} docker-compose.hosted.yml, five image: lines
both a version tag and latest per image compose defaults ${TRINITY_IMAGE_TAG:-latest}; packer/digitalocean/trinity.pkr.hcl requires an explicit tag and rejects latest
anonymously pullable start.sh:524 and packer/digitalocean/scripts/01-provision.sh:50 both docker pull with no docker login
linux/amd64 DigitalOcean droplets

GHCR packages default to private. Publishing alone does not clear the 401s — each package's visibility has to be set public.

Acceptance Criteria

Technical Notes

Activity

  1. added
    priority-p1
    type-feature
    theme-infrastructure
    complexity-medium
    status-ready
    on Aug 31, 2026
  2. obasilakis commented on Aug 31, 2026

    @obasilakis
    ContributorAuthor

    Closing — filed on a false premise.

    .github/workflows/publish-images.yml already exists on dev (#2390 / #2280, 2026-08-27) with tests/unit/test_2280_publish_workflow_and_stop.py as its reviewed spec. My evidence for 'no publish workflow exists' — an empty ls .github/workflows/ and an empty grep -rl ghcr.io — came from a local checkout ~40 commits behind origin/dev. PR #2453 is closed for the same reason.

    The 401s I quoted are real but mean something different: the workflow has never run (gh run list --workflow publish-images.yml → zero runs), because the newest tag is v0.9.0 and the workflow merged after it. Nothing needs building; a release cut fires it, and the one-time GHCR package-visibility flip is already handled by its own Verify anonymous pull step.

    #2280's AC1 is therefore accurate as written — unticked because unrun, not because unbuilt.

  3. removed
    status-ready
    on Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-mediumpriority-p1theme-infrastructuretype-feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions