Closed termoshtt closed 2 years ago
ghcr.io returns www-authebticate header, which requests to client(ocipkg) to get token based on OAuth protocol.
Authentication issue will be tackled in #18. This issue focuses on anonymous pull
Token for pulling ghcr.io/termoshtt/ocipkg/dynamic/rust:6f9b7aa
image can be obtained by following:
curl -sfL "https://ghcr.io/token?service=ghcr.io&scope=repository:termoshtt/ocipkg/dynamic/rust:pull"
Current (0.2.5) implementation does not set scope
correctly.
Build of
examples/rust-exe
fails:This will be resolved by #18, but it should be able to pull the container anonymously.