Publish images under the git version tag too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,7 +39,7 @@ docker compose down # stop
|
||||
docker compose pull && docker compose up -d # update to the newest published version
|
||||
```
|
||||
|
||||
To pin a version, set `WHATTODO_TAG=<commit>` in `.env` (default: `latest`).
|
||||
To pin a version, set `WHATTODO_TAG=<version>` in `.env`, e.g. `v1.0` or a commit (default: `latest`).
|
||||
|
||||
## Develop (build from source)
|
||||
|
||||
@@ -58,6 +58,7 @@ docker compose run --rm test # run the test suite (in Docker)
|
||||
|
||||
`./publish.sh` builds the last commit (uncommitted changes are left out) and pushes it to
|
||||
`git.goyban.com/goyban/whattodo` as `:latest` and `:<commit>`. `./publish.sh <tag|branch|commit>` publishes another version.
|
||||
To release a numbered version, tag the commit first: `git tag v1.1 && ./publish.sh v1.1` also pushes the image as `:v1.1`.
|
||||
Log in once first with `docker login git.goyban.com`, using a Gitea token with package write access as the password.
|
||||
|
||||
### Testing on your phone (same Wi-Fi)
|
||||
|
||||
Reference in New Issue
Block a user