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

Error pulling/compare with official images #31

Open
zinen opened this issue Apr 28, 2023 · 1 comment
Open

Error pulling/compare with official images #31

zinen opened this issue Apr 28, 2023 · 1 comment

Comments

@zinen
Copy link

zinen commented Apr 28, 2023

Something changed to last week with one of the docker APIs used in this image it seems. Starting from the 26'th of April I started getting errors when comparing with an official image: base-image: alpine:latest

Does not work: https://auth.docker.io/token?service=registry.docker.io&scope=repository:alpine:pull
Does work: https://auth.docker.io/token?service=registry.docker.io&scope=repository:_/alpine:pull

Notice the _/ near the image name which seems to be the shorthand used by the official images. However the next part of this script must use another API not adhering to the same rule set.

So I changed to base-image: _/alpine:latest in the config of this action and now got further. But hit a new error.

Does not work: https://index.docker.io/v2/_/alpine/tags/list
Does work: https://index.docker.io/v2/alpine/tags/list

Notice now the missing _/ compare to the API URLs above.

@zinen
Copy link
Author

zinen commented Apr 28, 2023

Some more digging. Both of thes URL seem to work. Using the key word library
https://auth.docker.io/token?service=registry.docker.io&scope=repository:library/alpine:pull
https://index.docker.io/v2/library/alpine/tags/list

Using base-image: library/alpine:latest in my action patches the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant