Skip to content

ci: publish docker image to GHCR and create GitHub release on tag#309

Merged
obchain merged 1 commit intomainfrom
chore/release-workflow
Apr 25, 2026
Merged

ci: publish docker image to GHCR and create GitHub release on tag#309
obchain merged 1 commit intomainfrom
chore/release-workflow

Conversation

@obchain
Copy link
Copy Markdown
Owner

@obchain obchain commented Apr 25, 2026

Summary

  • New workflow .github/workflows/release.yml triggered on tag v*.
  • Builds the existing Dockerfile via buildx with GHA cache, pushes to ghcr.io/obchain/charon with tags vX.Y.Z, X.Y.Z, X.Y, latest.
  • Creates a GitHub release with auto-generated notes plus the image reference and digest.

Test plan

  • After merge, push tag v0.1.0 and verify the workflow publishes the package and release.

Trigger on tag v*: build Dockerfile, push multi-tag image to
ghcr.io/obchain/charon, then create GitHub release with auto-generated
notes and image digest. First-tag case handled via conditional
--notes-start-tag.

Permissions scoped: contents:write for release, packages:write for
GHCR.
@obchain obchain merged commit e1ebb68 into main Apr 25, 2026
@obchain obchain deleted the chore/release-workflow branch April 25, 2026 17:00
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