Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aseem-heg opened this issue Jan 4, 2023 · 5 comments

Comments

@aseem-heg
Copy link

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

@panjek26
Copy link

same with me

@MaximusMcCann
Copy link

Same

@ayy-em
Copy link

ayy-em commented Jul 17, 2023

exit code 124

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

@eboraks
Copy link

eboraks commented Feb 18, 2024

Same problem :(

@brettski
Copy link

brettski commented Feb 19, 2024

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:

echo '${{ inputs.creds }}' > /tmp/gce-cloudsql-proxy/key.json

Then read:

-credential_file /tmp/gce-cloudsql-proxy/key.json \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants