Closed hawkyre closed 2 years ago
Hi @hawkyre, thanks for using the action.
As you are using plain text for the secret, the action should log This action is unable to decode INPUT_GCLOUD_SERVICE_KEY as base64. It assumes INPUT_GCLOUD_SERVICE_KEY as plain text.
according to this line.
But it seems like this action is assuming your secret as BASE64 encoded string which can be occurred when the secret is an empty string.
Could you please check the secrets.GCLOUD_SERVICE_KEY
if it is empty?
To unblock yourself quickly, could you please try adding a new secret by encoding the JSON to BASE64 representation?
I ended up going for another solution, sorry
No worries. I will try to replicate this with an empty secret. Thanks for the update.
This issue has been resolved in v5-beta
.
I am trying to use this but I get an error:
These are my steps:
I have a secret called GCLOUD_SERVICE_KEY where I copy-pasted the service account key straight from the file that was downloaded from GCP.
Anyone has any clue as to what's going on?