Skip to content

ci: build backend images with ko and embedded migrations - #28

Merged
prayujt merged 1 commit into
mainfrom
ci/ko-images
Sep 26, 2026
Merged

prayujt merged 1 commit into
mainfrom
ci/ko-images

Conversation

@prayujt

@prayujt prayujt commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Build AMD64 and ARM64 Go images with ko and persistent compiler caching, preserving the registry tags and Nimbus deployment behavior. Embed the existing SQL migrations so container startup no longer depends on files copied by a Dockerfile.

Test plan

  • Built both image architectures; go build ./..., go vet ./..., and formatting checks passed. Started the image against an isolated PostgreSQL container, confirmed migration version 11 and a successful /healthz response.
  • Actionlint passed with pre-existing deprecated-action warnings excluded; git diff --check passed.

CI built and published both architectures and completed the Nimbus preview deployment successfully.

Cache compiled Go packages between image builds and embed SQL migrations\nso container startup does not depend on the removed Dockerfile.
@prayujt
prayujt merged commit 14d5b61 into main Sep 26, 2026
2 checks passed
@prayujt
prayujt deleted the ci/ko-images branch September 26, 2026 14:35
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