gce-cloudsql-proxy-action
gce-cloudsql-proxy-action copied to clipboard
When I use creds: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DEV_2 }} I get error
Does the secret variable name have to be GOOGLE_APPLICATION_CREDENTIALS
or can it be different?
When I use a different secret name I get error - invalid json file "/tmp/gce-cloudsql-proxy/key.json": unexpected end of JSON input
same with me
Same
exit code 124
same json parsing trouble, I guess here, is there a solution?
Same problem :(
This is strange. I don't see any name requirements in the YAML file, and I wonder if it's some Actions inputs limitation. If you shorten the name to something different, e.g., GOOGLE_APP_CREDS_DEV_2
, does that work? (I don't currently have a project to test in.)
Its usage is really straightforward: https://github.com/mattes/gce-cloudsql-proxy-action/blob/145471ad36a0211ca4a7b90af14587bcc35b3c99/action.yml#L32
Then read: https://github.com/mattes/gce-cloudsql-proxy-action/blob/145471ad36a0211ca4a7b90af14587bcc35b3c99/action.yml#L39