Skip to content

chore: pull pre-built GHCR images on VM instead of building locally - #72

Open
barab2002 wants to merge 2 commits into
mainfrom
chore/use-ghcr-images
Open

chore: pull pre-built GHCR images on VM instead of building locally#72
barab2002 wants to merge 2 commits into
mainfrom
chore/use-ghcr-images

Conversation

@barab2002

Copy link
Copy Markdown
Owner

Summary

  • docker-compose.prod.yml: replaced build: sections with image: refs pointing to GHCR (ghcr.io/barab2002/knownet-api:latest and ghcr.io/barab2002/knownet-client:latest)
  • publish.yml: added build-args to pass VITE_ Firebase env vars (from GitHub secrets) when building the client image

Before merging

Add these 4 secrets to the repo (Settings → Secrets and variables → Actions):

  • VITE_FIREBASE_API_KEY
  • VITE_FIREBASE_AUTH_DOMAIN
  • VITE_FIREBASE_PROJECT_ID
  • VITE_FIREBASE_APP_ID

On the VM after merge

docker compose -f docker-compose.prod.yml pull
docker compose -f docker-compose.prod.yml up -d

🤖 Generated with Claude Code

barab2002 and others added 2 commits February 24, 2026 01:42
- docker-compose.prod.yml: replace build sections with GHCR image refs
- publish.yml: pass VITE_ Firebase vars as build-args from GitHub secrets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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