You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
The current definition of the ml-model:inferencing-image and ml-model:training-image links requires that they be of the form <registry_domain>/<user_or_organization_name>/<image_name>:<tag> (e.g. docker.io/some_organization/example-image:1), which gives the appearance of a relative URI. This causes problems in STAC API implementations like stac-fastapi that replace relative URLs with absolute URLs prefixed with the API's root path (e.g. the above example in an API with a root of https://some-api.com/stac would become https://some-api.com/stac/docker.io/some_organization/example-image:1 in any Items containing that link).
We should consider redefining that Link type to avoid this issue. We could require that the URI be prefixed with a scheme like docker://, but we may also want to reconsider how that link is defined. Most STAC links seem to be defined as HTTP links, so it might be more appropriate to link to the homepage for an image (e.g. https://hub.docker.com/layers/radiantearth/cyclone-model-torchgeo/1/images/sha256-bf09b7cc7e088c0089c0833a4cca0b1f5b4b21a18360ad98e21325ae87c0065a?context=repo instead of docker.io/radiantearth/cyclone-model-torchgeo:1).