Skip to content

ci: tag-driven release workflow, VERSION build arg, minimal AGENTS.md - #2

Merged
ryanlitalien merged 1 commit into
mainfrom
feat/release-workflow
Sep 4, 2026
Merged

ci: tag-driven release workflow, VERSION build arg, minimal AGENTS.md#2
ryanlitalien merged 1 commit into
mainfrom
feat/release-workflow

Conversation

@ryanlitalien

Copy link
Copy Markdown
Member

Adds a release workflow triggered by pushing a v* tag. It builds static binaries for linux/amd64, linux/arm64, darwin/arm64, darwin/amd64 and windows/amd64 with -X main.Version=<tag> (the same flag the Makefile uses), bundles each with README, LICENSE and connector.example.yml, publishes them with a SHA256SUMS file to the GitHub Releases page with generated notes, and pushes the container image to ghcr.io/butterstack/butterstack-connector:<tag> and :latest. The Dockerfile gains a VERSION build arg so the image reports the same version.

Release artifacts rather than CI artifacts because CI artifacts expire and need a GitHub login to download; studios expect a Releases page. First release: git tag v0.1.0 && git push origin v0.1.0 once this is merged. The GHCR package inherits the repo's visibility by default; if the repo stays private for a while, the package can be made public on its own from the package settings so bsg-cp-01 can pull it without credentials.

Push a v* tag to publish linux/darwin/windows archives with SHA256SUMS on
the Releases page and the container image to ghcr.io/butterstack/
butterstack-connector. The Dockerfile takes a VERSION build arg so the
image reports the same version as the binaries. AGENTS.md gives AI coding
agents the layout, commands, and the security rules that must not move.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ryanlitalien
ryanlitalien merged commit 9d20b98 into main Sep 4, 2026
1 check passed
@ryanlitalien
ryanlitalien deleted the feat/release-workflow branch September 4, 2026 01:26
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