Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 50c1f99

Browse files
committedFeb 20, 2025·
permission error
1 parent 60eaac5 commit 50c1f99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.github/workflows/cloud-sql-proxy-test-pipeline.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ jobs:
3838
- name: Configure Cloud SQL Auth Proxy Docker
3939
run: |
4040
cat $GOOGLE_APPLICATION_CREDENTIALS > /tmp/key.json
41-
docker run --privileged --name cloud-sql-auth-proxy -v /${{github.workspace}}/cloudsql:/tmp/cloudsql -v /tmp/key.json:/tmp/key.json gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.14.3 --unix-socket=/tmp/cloudsql --credentials-file /tmp/key.json proceed-bpms:europe-west1:ms-db-staging
41+
mkdir -p "$HOME/cloudsql"
42+
chmod 777 "$HOME/cloudsql"
43+
docker run --name cloud-sql-auth-proxy -v /$HOME/cloudsql:/tmp/cloudsql -v /tmp/key.json:/tmp/key.json --user "$(id -u):$(id -g)" gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.14.3 --unix-socket=/tmp/cloudsql --credentials-file /tmp/key.json proceed-bpms:europe-west1:ms-db-staging
4244
ls /cloudsql

0 commit comments

Comments
 (0)
Please sign in to comment.