Skip to content

ci: add github actions and semantic-release - #1

Merged
julianpoy merged 3 commits into
mainfrom
ci-setup
Oct 21, 2026
Merged

julianpoy merged 3 commits into
mainfrom
ci-setup

Conversation

@julianpoy

Copy link
Copy Markdown
Member

Because

  • We want CI checks and automatic releases on merge

This pull request

  • Adds CI workflows, semantic-release, and image publishing to GHCR
  • Renames the compose env files to dev.env and dev.local.env so Nx doesn't load them into tasks

Issue that this pull request solves

Closes: N/A

Checklist

  • My commits are GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have manually reviewed all AI generated code.

Because:

- We want CI checks and automatic releases on merge

This commit:

- Adds CI workflows, semantic-release, and image publishing to GHCR

@StaberindeZA StaberindeZA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with some optional changes.

I ran a Claude review and below is some of feedback it came back with on what would be good to fix.

Most important:

  1. .github/workflows/ci.yml:107: The release version comes from git tag --points-at HEAD, not from what semantic-release actually did. If someone re-runs an old workflow on main, it can push an old version again and move :latest back to it.
  2. .github/workflows/ci.yml:90: On push, the release tag is created before anything checks that the Docker image builds. If the image build then fails, you're left with a version tag that has no image.
  3. .dockerignore:8: Only env files at the repo root are excluded. Secret files inside apps/ or libs/ would be copied into the build layers, which are cached in GitHub Actions.

IMO 2 and 3 would be good to fix, but also fine to leave things as is.

@julianpoy
julianpoy marked this pull request as ready for review October 21, 2026 04:16
@julianpoy
julianpoy merged commit 2feed62 into main Oct 21, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants