-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed support for non-indented manifests
- Loading branch information
Showing
9 changed files
with
111 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/image_manager/test/expected_manifests/alpine_3.14.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"schemaVersion": 2, | ||
"mediaType": "application/vnd.docker.distribution.manifest.v2+json", | ||
"config": { | ||
"mediaType": "application/vnd.docker.container.image.v1+json", | ||
"size": 1472, | ||
"digest": "sha256:d4ff818577bc193b309b355b02ebc9220427090057b54a59e73b79bdfe139b83" | ||
}, | ||
"layers": [ | ||
{ | ||
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", | ||
"size": 2811478, | ||
"digest": "sha256:5843afab387455b37944e709ee8c78d7520df80f8d01cf7f861aae63beeddb6b" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"schemaVersion":2,"config":{"mediaType":"application/vnd.oci.image.config.v1+json","digest":"sha256:1d4d0091fb1c2e430b0a9bab558b9a3a929fce0c93f29b0d4c2b9bcdecbfaf48","size":859},"layers":[{"mediaType":"application/vnd.oci.image.layer.v1.tar+gzip","digest":"sha256:8dfb4e6dc5179a0adf4a069e14d984216740f28b088c26090c8f16b97e44b222","size":2903015},{"mediaType":"application/vnd.oci.image.layer.v1.tar+gzip","digest":"sha256:109ba8c8d73216884b3667c38b4f706df81e6ac958041c5827f6718e112c8836","size":3135718}],"annotations":{"org.opencontainers.image.base.digest":"sha256:a777c9c66ba177ccfea23f2a216ff6721e78a662cd17019488c417135299cd89","org.opencontainers.image.base.name":"docker.io/library/alpine:3.15"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"mediaType":"application/vnd.oci.image.manifest.v1+json", | ||
"schemaVersion":2, | ||
"config":{ | ||
"mediaType":"application/vnd.oci.image.config.v1+json", | ||
"digest":"sha256:89210d0e9eb2eb59718480e05952c5e6e2f281e647a455b56d18e3a3add39006", | ||
"size":1663 | ||
}, | ||
"layers":[ | ||
{ | ||
"mediaType":"application/vnd.oci.image.layer.v1.tar+gzip", | ||
"size":29533422, | ||
"digest":"sha256:3153aa388d026c26a2235e1ed0163e350e451f41a8a313e1804d7e1afb857ab4" | ||
}, | ||
{ | ||
"mediaType":"application/vnd.oci.image.layer.v1.tar+gzip", | ||
"digest":"sha256:527bca282263ba1baafa344a90d2b07664ec9e241503f678b80182e3cda239e7", | ||
"size":153466 | ||
} | ||
], | ||
"annotations":{ | ||
"org.opencontainers.image.description":"zlib@=1.2.13%gcc@=12.2.0+optimize+pic+shared build_system=makefile arch=linux-ubuntu22.10-zen2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf" | ||
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf.d/shortnames.conf" | ||
DEBU[0000] Trying to access "docker.io/library/alpine:latest" | ||
DEBU[0000] No credentials for docker.io found | ||
DEBU[0000] Using registries.d directory /etc/containers/registries.d for sigstore configuration | ||
DEBU[0000] No signature storage configuration found for docker.io/library/alpine:latest, using built-in default file:///home/user/.local/share/containers/sigstore | ||
DEBU[0000] Looking for TLS certificates and private keys in /etc/docker/certs.d/docker.io | ||
DEBU[0000] GET https://registry-1.docker.io/v2/ | ||
DEBU[0000] Ping https://registry-1.docker.io/v2/ status 401 | ||
DEBU[0000] GET https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io | ||
DEBU[0000] GET https://registry-1.docker.io/v2/library/alpine/manifests/latest | ||
DEBU[0001] Content-Type from manifest GET is "application/vnd.docker.distribution.manifest.list.v2+json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters