Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon: use standardized docker registry API for GetLatestImageTag #718

Open
bobheadxi opened this issue Nov 12, 2020 · 0 comments
Open
Labels
:daemon daemon and serverside functionality good first issue cake for everyone!

Comments

@bobheadxi
Copy link
Member

bobheadxi commented Nov 12, 2020

Also for GetLatestImageTag function ghcr.io has REST API (given you have an authorization PAT). See https://docs.docker.com/registry/spec/api/#listing-image-tags

Tried doing a curl:

curl \
-H "Authorization: Bearer $(echo $PAT | base64)" \
-H "Accept: application/vnd.docker.distribution.manifest.list.v2+json" \
https://ghcr.io/v2/ubclaunchpad/inertiad/tags/list

Originally posted by @cheukyin699 in #716 (comment)

@bobheadxi bobheadxi added :daemon daemon and serverside functionality good first issue cake for everyone! labels Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:daemon daemon and serverside functionality good first issue cake for everyone!
Projects
None yet
Development

No branches or pull requests

1 participant