ilteoood / docker_buildx

GitHub actions with docker buildx
23 stars 12 forks source link

Error failed to solve: rpc error: code = Unknown desc = server message: insufficient_scope: authorization failed #7

Closed vabene1111 closed 4 years ago

vabene1111 commented 4 years ago

So when trying to use this action to buld a docker image the build fails with the follwing error message:


#31 pushing layers
#31 pushing layers 0.3s done
#31 ERROR: server message: insufficient_scope: authorization failed
------
 > exporting to image:
------
failed to solve: rpc error: code = Unknown desc = server message: insufficient_scope: authorization failed
##[error]Command failed: docker_buildx/scripts/docker_build.sh linux/amd64,linux/arm64,linux/arm/v7 recipes test Dockerfile true none

The full log can be found here, the action file in question is this one.

I have searched for the error message and have found various issues 1 2 but have not been able to fix this.

Any ideas on what could be causing this issue ? Thanks very much in advance!

ilteoood commented 4 years ago

Hi, I think that the image name isn't valid for the docker standards. Did you tried with YOUR_DOCKER_HUB_NAME/recipes?

vabene1111 commented 4 years ago

a i could have thought of that .. not the most helpful of error messages but that isn't your fault.

Thank you very much for your assistance!

clearloop commented 3 years ago

https://github.com/docker/build-push-action/issues/301