chore: add Docker build and CI workflows - #4
Merged
Conversation
- Multi-stage Dockerfile for containerized deployment to GHCR - docker.yaml: builds multi-arch images (amd64/arm64), pushes on main/tags - ci.yaml: fmt-check + vet + lint + test on every PR and push to main - .dockerignore: excludes build context noise Enables end-to-end container builds with automated quality gates.
golangci-lint-action@v6 resolved 'latest' to v1.64.8, which predates the v2 config schema declared in .golangci.yml and was built with Go 1.24 (below the project's Go 1.25.4). Bumping the action to v9 and pinning the linter to v2.11.4 — matches the locally-verified version.
The .golangci.yml declares version: "2" but kept linters-settings at the top level (v1 layout). golangci-lint run tolerates this; the v9 action's explicit `config verify` step does not. Moving the block under linters.settings, matching the placement of formatters.settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds containerization and automated CI/CD for comms-demo:
:7765with healthcheckghcr.io/helixml/comms-demoon main/tagsfmt-check + vet + lint + teston every PR, gates commits with quality checksContainer builds on PRs (verify only), pushes on main and version tags. All workflows use GHA caching for speed.