Skip to content

Claude/rename module path#11

Draft
conallob wants to merge 5 commits into
mainfrom
claude/rename-module-path
Draft

Claude/rename module path#11
conallob wants to merge 5 commits into
mainfrom
claude/rename-module-path

Conversation

@conallob
Copy link
Copy Markdown
Owner

No description provided.

conallob added 5 commits May 6, 2026 00:16
- New version package holds Version="dev"; goreleaser overwrites it with
  the tag via -ldflags "-X .../version.Version={{.Version}}"
- CLI: --version / -version / version subcommand prints the version and exits
- Server: GET /version returns {"version":"<tag>"}
- goreleaser ldflags also strip debug info (-s -w) for smaller binaries
- Dockerfile: multi-stage scratch image — alpine:3 stage fetches the CA
  certificate bundle, final stage is scratch with just the certs and the
  pre-built binary; statically linked (CGO_ENABLED=0) so no libc needed
- goreleaser: dockers section builds linux/amd64 and linux/arm64 images
  tagged ghcr.io/conallob/coding-interview-pattern-drill:<tag>-<arch>,
  all using podman; docker_manifests merges them into a multi-arch
  manifest at :<tag> and :latest
- release workflow: adds packages:write permission and podman login to
  ghcr.io before goreleaser runs
Add container image build via goreleaser + podman
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