|
721 | 721 | "args": [ |
722 | 722 | "ghcr.io/x/y/z:1@sha256:1234567890123456789012345678901234567890123456789012345678901234" |
723 | 723 | ], |
724 | | - "result": null |
| 724 | + "result": { |
| 725 | + "scheme": "https", |
| 726 | + "id": "z", |
| 727 | + "owner": "x", |
| 728 | + "namespace": "x/y", |
| 729 | + "registry": "ghcr.io", |
| 730 | + "resource": "ghcr.io/x/y/z", |
| 731 | + "path": "x/y/z", |
| 732 | + "version": "sha256:1234567890123456789012345678901234567890123456789012345678901234", |
| 733 | + "tag": "1", |
| 734 | + "digest": "sha256:1234567890123456789012345678901234567890123456789012345678901234" |
| 735 | + } |
725 | 736 | }, |
726 | 737 | { |
727 | 738 | "name": "ghcr.io devcontainers/templates", |
|
966 | 977 | "a/b/c/d" |
967 | 978 | ], |
968 | 979 | "result": "a/b/c/d" |
| 980 | + }, |
| 981 | + { |
| 982 | + "name": "tag and digest", |
| 983 | + "fn": "getRef", |
| 984 | + "args": [ |
| 985 | + "mcr.microsoft.com/devcontainers/go:2.3.1-1.27-bookworm@sha256:adc326255c019241228f9da4a1cb5d6a89abaaa0eb8d926a355b00af7daafd00" |
| 986 | + ], |
| 987 | + "result": { |
| 988 | + "scheme": "https", |
| 989 | + "id": "go", |
| 990 | + "owner": "devcontainers", |
| 991 | + "namespace": "devcontainers", |
| 992 | + "registry": "mcr.microsoft.com", |
| 993 | + "resource": "mcr.microsoft.com/devcontainers/go", |
| 994 | + "path": "devcontainers/go", |
| 995 | + "version": "sha256:adc326255c019241228f9da4a1cb5d6a89abaaa0eb8d926a355b00af7daafd00", |
| 996 | + "tag": "2.3.1-1.27-bookworm", |
| 997 | + "digest": "sha256:adc326255c019241228f9da4a1cb5d6a89abaaa0eb8d926a355b00af7daafd00" |
| 998 | + } |
| 999 | + }, |
| 1000 | + { |
| 1001 | + "name": "registry port, tag and digest", |
| 1002 | + "fn": "getRef", |
| 1003 | + "args": [ |
| 1004 | + "docker.io:8001/devcontainers/templates/docker-from-docker:1.3.4@sha256:4ef08c9c3b708f3c2faecc5a898b39736423dd639f09f2a9f8bf9b0b9252ef0a" |
| 1005 | + ], |
| 1006 | + "result": { |
| 1007 | + "scheme": "https", |
| 1008 | + "id": "docker-from-docker", |
| 1009 | + "owner": "devcontainers", |
| 1010 | + "namespace": "devcontainers/templates", |
| 1011 | + "registry": "docker.io:8001", |
| 1012 | + "resource": "docker.io:8001/devcontainers/templates/docker-from-docker", |
| 1013 | + "path": "devcontainers/templates/docker-from-docker", |
| 1014 | + "version": "sha256:4ef08c9c3b708f3c2faecc5a898b39736423dd639f09f2a9f8bf9b0b9252ef0a", |
| 1015 | + "tag": "1.3.4", |
| 1016 | + "digest": "sha256:4ef08c9c3b708f3c2faecc5a898b39736423dd639f09f2a9f8bf9b0b9252ef0a" |
| 1017 | + } |
969 | 1018 | } |
970 | 1019 | ] |
971 | 1020 | } |
0 commit comments