Merge remote-tracking branch 'origin/feat/release-signing' into feat/autoupdate
# Conflicts: # README.md
This commit is contained in:
commit
431048e244
10 files changed
+677
-6
No files matched your search
@@ -77,7 +77,14 @@ One image contains all three commands; `api` is the default entrypoint. Images a
|
||||
| `beta` | the newest prerelease (`1.5.0-beta.N`) |
|
||||
| `edge` | every commit on `main` |
|
||||
|
||||
Each [release](https://git.zb-server.de/ZB-Server/uptimesebi/releases) also carries Linux binaries (amd64, arm64, armv7, armv6) with checksums and the changelog. Or build the image yourself:
|
||||
Each [release](https://git.zb-server.de/ZB-Server/uptimesebi/releases) also carries Linux binaries (amd64, arm64, armv7, armv6), the changelog, an SPDX SBOM (`sbom.spdx.json`: Go modules and bundled npm packages) and checksums signed with [minisign](https://jedisct1.github.io/minisign/). Verify a download with:
|
||||
|
||||
```sh
|
||||
minisign -Vm SHA256SUMS -P RWRrmAkTu/xZg/o8QCsko5rUujqW/N165cj+dyEcp5CDXPTE2jKbLkyA
|
||||
sha256sum -c --ignore-missing SHA256SUMS
|
||||
```
|
||||
|
||||
The trusted comment names the release, so a signature cannot be passed off for another one. Or build the image yourself:
|
||||
|
||||
```sh
|
||||
docker build -t uptimesebi .
|
||||
@@ -173,7 +180,7 @@ make lint
|
||||
|
||||
The tests run against the `uptime_test` database and Redis database 15 from [`.env.example`](.env.example). CI runs lint, tests, builds and the image for every pull request ([`.gitea/workflows/ci.yaml`](.gitea/workflows/ci.yaml)).
|
||||
|
||||
Commits follow [Conventional Commits](https://www.conventionalcommits.org/), which decide the version: `make release` tags the next one on `main` (breaking changes move the major version, before 1.0 the minor one; `feat` the minor, `fix` and `perf` the patch version), `make release CHANNEL=beta` the next prerelease. Pushing the tag publishes the release with its changelog ([`.gitea/workflows/release.yaml`](.gitea/workflows/release.yaml)). Code comments, commits and issues are in English; the interface is translated (English and German, `internal/i18n/locales`).
|
||||
Commits follow [Conventional Commits](https://www.conventionalcommits.org/), which decide the version: `make release` tags the next one on `main` (breaking changes move the major version, before 1.0 the minor one; `feat` the minor, `fix` and `perf` the patch version), `make release CHANNEL=beta` the next prerelease. Pushing the tag publishes the release with its changelog ([`.gitea/workflows/release.yaml`](.gitea/workflows/release.yaml)), signed with the key in the `RELEASE_SIGNING_KEY` secret. To rotate it, create a key with `go run ./tools/release keygen <file>`, add the printed public key to [`internal/signing/release.pub`](internal/signing/release.pub) (keep the old one, so self-updating agents can update across the change) and replace the secret. Code comments, commits and issues are in English; the interface is translated (English and German, `internal/i18n/locales`).
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in new issue
Block a user