Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
|
|
=== 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
|