Skip to content

ops: GHCR image build workflow + db:migrate script - #9

Merged
diskhacker merged 1 commit into
mainfrom
ops/docker-build-and-migrate
Apr 16, 2026
Merged

ops: GHCR image build workflow + db:migrate script#9
diskhacker merged 1 commit into
mainfrom
ops/docker-build-and-migrate

Conversation

@diskhacker

Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/docker.yml — builds and pushes ghcr.io/diskhacker/sigops-server and ghcr.io/diskhacker/sigops-ui on v*.*.* tags and manual dispatch.
  • Add db:migrate script to server/package.json — production migration path via drizzle-kit migrate. db:push remains for dev only.

Unblocks the cluster-deploy Docker Compose stack which pulls ghcr.io/diskhacker/sigops-*:latest.

Server Dockerfile already runs as USER node — no root fix needed here.

Test plan

  • Push a v0.1.0 tag and confirm both images publish to GHCR
  • docker compose exec sigops-server npm run db:migrate applies migrations

https://claude.ai/code/session_01VZPc4xQECHmaTddwaq6zf2

- Add .github/workflows/docker.yml to build+push sigops-server and
  sigops-ui images to ghcr.io on v*.*.* tags and manual dispatch.
- Add `db:migrate` script to server/package.json — production migration
  path (drizzle-kit migrate). Do NOT use `db:push` in production.
@diskhacker
diskhacker merged commit db90322 into main Apr 16, 2026
2 of 3 checks passed
@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@diskhacker has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 54 minutes and 31 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 54 minutes and 31 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ddd1e4b3-0097-456f-b6ec-9dd34d2dc826

📥 Commits

Reviewing files that changed from the base of the PR and between 243f334 and f5d4cc3.

📒 Files selected for processing (2)
  • .github/workflows/docker.yml
  • server/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ops/docker-build-and-migrate

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@diskhacker
diskhacker deleted the ops/docker-build-and-migrate branch April 17, 2026 03:42
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