Adapts the project-manager workflows for this Go project.
- **ci.yml** (PR → main): `go mod verify`, `go vet`, `go build`, `go test`, `govulncheck` in `golang:1.25-alpine`
- **build.yml** (push → main + manual): promote `latest`→`previous`, build and push new `latest` to the Gitea registry
- **release.yml** (tag push): build and push an image tagged to match the git tag
- **Dockerfile**: multi-stage static build → `alpine:3.20`, runs non-root
- **.dockerignore**
Requires a `BUILD_API_TOKEN` repo secret (write:package) before build/release can push images.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
CI runs go vet/build/test plus govulncheck on PRs. Build pushes a
latest/previous image to the Gitea registry on push to main, and
Release pushes a tag-matched image on git tags. Adapted from the
project-manager workflows.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
aneurin
merged commit 1dfa60a237 into main2026-09-06 22:23:13 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adapts the project-manager workflows for this Go project.
go mod verify,go vet,go build,go test,govulncheckingolang:1.25-alpinelatest→previous, build and push newlatestto the Gitea registryalpine:3.20, runs non-rootRequires a
BUILD_API_TOKENrepo secret (write:package) before build/release can push images.🤖 Generated with Claude Code