You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLATFORM_DIGESTS=$($CONTAINER_TOOL manifest inspect docker.io/$IMG| python3 -c "import json,sys; [print(m['digest']) for m in json.load(sys.stdin)['manifests']]")
5. Optionally verify locally that the Dockerfile changes resolve the findings. Build the image first, then scan it (`fail-on-severity`, `sort-by`, and `output-template-file` come from `.grype.yaml`):
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -429,6 +429,16 @@ This sets `core.hooksPath` to `.githooks/`. The hook runs on every `git commit`:
429
429
See [docs/internals/JGIT_INFRASTRUCTURE.md](docs/internals/JGIT_INFRASTRUCTURE.md) for the store-and-forward
430
430
architecture and [docs/internals/GIT_INTERNALS.md](docs/internals/GIT_INTERNALS.md) for wire-protocol details.
431
431
432
+
## Releases
433
+
434
+
Releases follow a two-phase process to ensure every published image is identical to what was already scanned and running as `:edge`.
435
+
436
+
**Phase 1 — version bump.** Create a `release/<version>` branch, update `version` in `build.gradle`, open a PR, and enable auto-merge. The PR must pass all CI, CodeQL, CVE, and container scan checks before it can merge. Use the `/release` Claude command to automate this.
437
+
438
+
**Phase 2 — tag.** Once the version bump lands on `main`, push an annotated tag (`v<version>`). The tag ruleset enforces the same checks must have passed on that commit. The publish workflow then promotes the already-built `:edge` image directly to the release tags (`:v1.0.0`, `:latest`, etc.) — no rebuild occurs. Use the `/release-tag` Claude command for this step.
439
+
440
+
This means every release image is byte-for-byte identical to the `:edge` image that was scanned when the version bump merged.
441
+
432
442
## Issues and pull requests
433
443
434
444
The issue tracker is at [coopernetes/git-proxy-java](https://github.com/coopernetes/git-proxy-java/issues). Reference
0 commit comments