Skip to content

Commit 13af91e

Browse files
committed
Improve Docker CI for PRs and add manual release workflow
Refactor the Docker image workflow to better support pull requests, forks, and multi-architecture builds. Changes: - add pull_request support for Docker image builds - refactor duplicated amd64/arm64 jobs into a matrix build - keep DockerHub login/push disabled for PR builds - keep manifest creation only for non-PR builds - derive image namespace from DOCKERHUB_NAMESPACE or repository owner - add Grype scanning for the base image - upload SARIF results only for non-PR builds - keep the existing per-arch slim image flow - add Buildx cache configuration Also add a separate manual Release workflow that: - takes an explicit VERSION input - creates and pushes a lightweight git tag - creates the GitHub release - dispatches the Docker workflow for that tag via workflow_dispatch This keeps PR behavior fork-friendly, adds image vulnerability scanning, and makes releases explicit without requiring Gradle or computed versioning.
1 parent ab5d307 commit 13af91e

3 files changed

Lines changed: 248 additions & 197 deletions

File tree

.github/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
changelog:
2+
categories:
3+
- title: 🎉 New features
4+
labels:
5+
- Feature
6+
- title: ⭐ Enhancements
7+
labels:
8+
- Enhancement
9+
- title: 🐞 Bug fixes
10+
labels:
11+
- Bug
12+
- title: 📝 Documentation
13+
labels:
14+
- Documentation
15+
- title: Other changes
16+
labels:
17+
- "*"

0 commit comments

Comments
 (0)