ci: enable GHCR docker image push in Node CI#3
Conversation
Remove the GHCR_ENABLED secret gate and push images to ghcr.io
automatically on main, release branches, and tags for the official
Sofie-Automation repository. GHCR push no longer depends on DockerHub
secrets and uses GITHUB_TOKEN for authentication.
Images pushed:
- ghcr.io/sofie-automation/sofie-core-server-core
- ghcr.io/sofie-automation/sofie-core-{playout-gateway,mos-gateway,live-status-gateway}
Co-authored-by: Jakub Doboš <kubo6472@users.noreply.github.com>
|
Warning Review limit reached
More reviews will be available in 4 minutes and 9 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Enables automatic Docker image publishing to GitHub Container Registry (ghcr.io) in the Node CI workflow.
Previously, GHCR push was gated behind a
GHCR_ENABLEDrepository secret and also required DockerHub secrets to be present. This change makes GHCR push work out of the box for the officialSofie-Automation/sofie-corerepository.Changes
GHCR_ENABLEDsecretmain,release*branches, and version tags (v**)Sofie-Automationorg andpushevents (not PRs/forks)build-coreandbuild-gatewaysjobsImages published
ghcr.io/sofie-automation/sofie-core-server-coreghcr.io/sofie-automation/sofie-core-playout-gatewayghcr.io/sofie-automation/sofie-core-mos-gatewayghcr.io/sofie-automation/sofie-core-live-status-gatewayDockerHub publishing behavior is unchanged and still requires the existing DockerHub secrets.
Notes
GITHUB_TOKENwithpackages: writepermission (already configured on the build jobs)GHCR_ENABLEDsecret is no longer needed and can be removed from repository settings