Skip to content

Conversation

mattes
Copy link
Owner

@mattes mattes commented Jun 22, 2021

No description provided.

-v $TMPDIR:/tmp/gce-cloudsql-proxy \
gcr.io/cloudsql-docker/gce-proxy:${{ inputs.proxy_version }} \
/cloud_sql_proxy \
-credential_file /tmp/gce-cloudsql-proxy/key.json \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe for this to work, /tmp/gce-cloudsql-proxy/key.json should be $TMPDIR/key.json otherwise it tries to find the key.json file in the wrong place.

As is, I'm getting the error: invalid json file "/tmp/gce-cloudsql-proxy/key.json": open /tmp/gce-cloudsql-proxy/key.json: permission denied

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

Successfully merging this pull request may close these issues.

2 participants