ci: publish editor image to GHCR - #771
Conversation
|
I hit an error while handling your request (Model unavailable on AI Gateway free tier: Free tier users do not have access to this model. Upgrade to paid credits at https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Fmodal%3Dtop-up for unrestricted…). Please try again, rephrase, or reach out if it keeps failing. Error id: 8bdf2076-e7df-4ba7-a14d-19a6b7dcc978 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b10b01d. Configure here.
Aymericr
left a comment
There was a problem hiding this comment.
Blocking the current rollout shape: this changes the checked-in default from a working local build to ghcr.io/pascalorg/editor:latest before that package/tag exists and before its visibility can be made public. Immediately after merge, a fresh docker compose up -d can therefore fail at the official documented entry point until a maintainer runs a release and completes the manual organization-package step.
Please keep the source-build path working during bootstrap (or land publication first without switching Compose, verify an amd64/arm64 public manifest, then switch Compose in a follow-up). The release integration also needs a maintainer-reviewed rollback/partial-release decision because an image failure occurs after the editor npm publish step. I’m marking this for human release ownership rather than merging an unverified registry transition.

What does this PR do?
Publishes the official editor Docker image to GHCR as part of the release workflow and updates Docker Compose to consume the published image. Stable releases receive both version and
latesttags; beta and recovery releases receive only their version tag. Images are published for amd64 and arm64. Fixes #770.How to test
docker compose configand verify the service usesghcr.io/pascalorg/editor:latestby default.IMAGE_TAGto a release version and verify Compose uses the versioned image.latesttag.linux/amd64andlinux/arm64platforms.Screenshots / screen recording
N/A — non-visual CI and deployment change.
Checklist
bun devbun checkto verify)mainbranchNote
Medium Risk
Release workflow now publishes container artifacts and changes the default deployment path from local builds to GHCR pulls, which depends on registry permissions and public package visibility.
Overview
Editor releases now build and push a multi-arch (
linux/amd64,linux/arm64) image toghcr.io/pascalorg/editoras part of the release workflow wheneditororallis selected. The job getspackages: write, logs into GHCR on non–dry-run releases, and tags images with the release version;latestis added only for patch/minor/major bumps (not beta or recovery-style runs). Dry runs still build but do not push or log in.Docker Compose no longer builds locally—it pulls
ghcr.io/pascalorg/editor:${IMAGE_TAG:-latest}. SETUP.md documentsIMAGE_TAGand one-time steps to make the GHCR package public for unauthenticated pulls. The Dockerfile adds anorg.opencontainers.image.sourcelabel for registry metadata.Reviewed by Cursor Bugbot for commit ba93d72. Bugbot is set up for automated code reviews on this repo. Configure here.