- Go 77.1%
- CSS 9.1%
- Go Template 5.6%
- Shell 5.1%
- Makefile 2%
- Other 1.1%
|
|
||
|---|---|---|
| assets | ||
| cmd | ||
| corpus | ||
| domain/app | ||
| pkg | ||
| sh | ||
| tmpl | ||
| .gitignore | ||
| ABOUT.md | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| Makefile | ||
| README.md | ||
Tender Buttons
- About this project
- Original text from project Gutenberg and my modified version used in this project.
- See the Makefile for hints if you want to try and run this project yourself.
Releasing
Releases are cut with make release VERSION=vX.Y.Z, starting at v1.0.0. The
sh/release.sh script:
- Validates the version (must match
vX.Y.Z) and that the docker daemon is running. - Refuses to proceed if the working tree is dirty or the tag already exists.
- Creates an annotated git tag.
- Builds the image as
code.andydayton.com/andy/tenderbuttons:vX.Y.Z(also tagged:latest). - Pushes both image tags to the registry.
- Pushes the git tag to
origin.
This replaces the previous Docker Hub workflow — images now live on the
self-hosted registry at code.andydayton.com. Before running a release, make
sure you're logged in: docker login code.andydayton.com.
For local development, make docker-build and make docker-run still work
and tag the image as :dev so it can't be confused with a real release.