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
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.
The text was updated successfully, but these errors were encountered:
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.
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.The text was updated successfully, but these errors were encountered: