Skip to content

build(docker): publish image to GHCR - #13

Merged
moshloop merged 1 commit into
mainfrom
build/ghcr-release
Oct 23, 2026
Merged

moshloop merged 1 commit into
mainfrom
build/ghcr-release

Conversation

@moshloop

Copy link
Copy Markdown
Member

What

  • Publish release binaries as a distroless multi-arch image (linux amd64, arm64) to GHCR on release
  • Log into GHCR in the release job and smoke-test the pushed image
  • Pin GoReleaser to v2.12.7

Why

  • Lets sqlglot run without a Go toolchain

Notes

  • CGO is disabled so the binaries are static and work in the distroless base
  • Touches .github/workflows/release.yml, .goreleaser.yaml, Dockerfile, README.md

Ship the release binaries as a distroless image for linux amd64 and arm64 so sqlglot can run without a Go toolchain.
The release job now logs into GHCR, smoke-tests the pushed image, and pins GoReleaser to v2.12.7.
CGO is disabled so the binaries are static and work in the distroless base.

Claude-Session-Id: 01a167f4-56cd-72a3-bca2-238b52f3ce78
@moshloop
moshloop enabled auto-merge (rebase) October 23, 2026 09:08
@moshloop
moshloop merged commit a8266d2 into main Oct 23, 2026
11 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.6 🎉

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.

1 participant