Skip to content

feat(cli): log into GHCR before pulling browser-pool (CLEAN-42) - #37

Merged
maksymhryzodub-prog merged 1 commit into
mainfrom
feat/CLEAN-42-ghcr-login
Aug 19, 2026
Merged

feat(cli): log into GHCR before pulling browser-pool (CLEAN-42)#37
maksymhryzodub-prog merged 1 commit into
mainfrom
feat/CLEAN-42-ghcr-login

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

Summary

  • ranch dev now ensures ghcr.io/cleanslice/browser-pool exists before compose: skip if local, otherwise docker login ghcr.io from GITHUB_TOKEN / .env.project / gh auth and pull.
  • If GHCR still refuses (no package access), build k8s/browser-pool-image locally and tag it so compose never hits the registry.
  • docker-up.sh does the same local-build fallback, and compose has a build: context + pull_policy: missing.

Test plan

  • cd cli && bun test src/utils/ghcr.test.ts
  • ensureBrowserPoolImage is a no-op when the image is already local
  • Fresh Docker (no GHCR login): ranch dev either pulls after auto-login or builds locally instead of unauthorized

Fixes CLEAN-42

Co-authored-by: Cursor <cursoragent@cursor.com>
@maksymhryzodub-prog
maksymhryzodub-prog merged commit 3e820a2 into main Aug 19, 2026
1 check passed
@maksymhryzodub-prog
maksymhryzodub-prog deleted the feat/CLEAN-42-ghcr-login branch August 19, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant