Add gitea-actions: Spring Boot 4.2.0 CI with surefire/failsafe, Testcontainers, CycloneDX SBOM and Jib

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
2026-12-01 23:59:28 +05:30
co-authored by Claude Sonnet 5.5
parent bb12eaca0a
commit 5facfdc212
30 changed files with 811 additions and 0 deletions
@@ -0,0 +1,22 @@
=== 1. Where does the container registry answer? ===
https://ankurm.com/v2/ -> HTTP 404
https://ankurm.com/git.app/v2/ -> HTTP 200
=== 2. docker login and docker push the way every tutorial writes it ===
$ docker login ankurm.com
Error response from daemon: login attempt to https://ankurm.com/v2/ failed with status: 404 Not Found
$ docker push ankurm.com/asmhatre/gitea-actions-probe:1
unknown: unexpected status from POST request to https://ankurm.com/v2/asmhatre/gitea-actions-probe/blobs/uploads/: 404 Not Found
=== 3. The generic package registry works under the sub-path: upload the SBOM ===
$ curl --upload-file target/classes/META-INF/sbom/application.cdx.json https://ankurm.com/git.app/api/packages/asmhatre/generic/gitea-actions-demo-sbom/1.0.0-demo/application.cdx.json
PUT first time -> HTTP 201
PUT second time -> HTTP 409 (a file name can be published once per version)
downloaded back: CycloneDX 1.6 59 components
DELETE version -> HTTP 204
=== 4. Bad file name ===
PUT file with a space in its name -> HTTP 201
DELETE version (cleanup) -> HTTP 204
packages left named gitea-actions-demo-sbom: 0