gce-cloudsql-proxy-action icon indicating copy to clipboard operation
gce-cloudsql-proxy-action copied to clipboard

When I use creds: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DEV_2 }} I get error

Open aseem-heg opened this issue 2 years ago • 5 comments

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

aseem-heg avatar Jan 04 '23 07:01 aseem-heg

same with me

panjek26 avatar Jan 31 '23 09:01 panjek26

Same

MaximusMcCann avatar Mar 08 '23 00:03 MaximusMcCann

exit code 124

same json parsing trouble, I guess here, is there a solution?

ayy-em avatar Jul 17 '23 20:07 ayy-em

Same problem :(

eboraks avatar Feb 18 '24 15:02 eboraks

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

brettski avatar Feb 19 '24 14:02 brettski