Closed pkaramol closed 2 years ago
Hi @pkaramol, thanks for using this action and reporting the issue.
I think your encoding to base64 is fine but the extra '
is causing the issue.
Could you please check with changing echo '${{ secrets.STAGING_GCR_SA }}' | python -m base64 -e
to echo ${{ secrets.STAGING_GCR_SA }} | python -m base64 -e
?
Also if you use v4.1, you don't have to encode the JSON file anymore, the gcloud_service_key
parameter now supports both base64 and plain text.
Feel free to re-open the issue if it is not solved yet.
My SA key is stored as json
However the following example fails
as follows: