[SOLVED] Unauthorized when use plugins/gcr:latest with drone:1.0.0-rc.2

Hi All,

I encounter a problem, as title.
I have google it for a while, but didn’t get any answer.

Here is part log:
unauthorized: You don’t have the needed permissions to perform this operation, and you may have invalid credentials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication

And my yml:
kind: pipeline
name: default


  • name: publish
    image: plugins/gcr
    registry: asia.gcr.io
    repo: report-163115/linebot
    tags: ${DRONE_TAG}
    dockerfile: ./Dockerfile
    from_secret: google_credentials

Thank for your reading

Hi All,

I found the problem.
Keyfile’s format is mess, so I generate another one.
And it success!!!