Skip to content

Conversation

@bupd
Copy link
Owner

@bupd bupd commented Jan 2, 2026

Summary

  • Optimize Dockerfile with multi-stage build using Bun instead of Node.js (~60% smaller image)
  • Add GoReleaser for automated multi-platform binary releases with SBOM generation
  • Add CI workflow for docker builds on push to main
  • Add release workflow triggered on version tags
  • Sign all docker images with cosign keyless signing via Sigstore
  • Copy images to Harbor registry with signing

Docker Images

  • Multi-arch: linux/amd64, linux/arm64
  • SBOM and provenance attestations
  • Published to ghcr.io/bupd/shitpost
  • Mirrored to registry.goharbor.io/bupd/shitpost
  • Signed with cosign (keyless)

Binaries (on release)

  • linux/amd64, linux/arm64
  • darwin/amd64, darwin/arm64
  • windows/amd64, windows/arm64
  • SBOM generated via syft

Workflows

  • CI: Build, test, push docker to GHCR and Harbor on push to main
  • Release: GoReleaser + docker build on version tags

Required Secrets

  • HARBOR_USERNAME
  • HARBOR_PASSWORD

@bupd bupd self-assigned this Jan 2, 2026
@bupd bupd added the enhancement New feature or request label Jan 2, 2026
@bupd bupd merged commit 66bd576 into main Jan 2, 2026
2 checks passed
@bupd bupd deleted the workflows branch January 2, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants