{"id":15650144,"url":"https://github.com/mattes/gce-cloudsql-proxy-action","last_synced_at":"2025-04-30T17:03:18.891Z","repository":{"id":49223394,"uuid":"297208940","full_name":"mattes/gce-cloudsql-proxy-action","owner":"mattes","description":"Github action which will start a Google Cloud SQL Proxy as Docker container.","archived":false,"fork":false,"pushed_at":"2021-06-22T22:52:48.000Z","size":9,"stargazers_count":42,"open_issues_count":6,"forks_count":48,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T17:02:57.328Z","etag":null,"topics":["cloudsql","cloudsql-proxy","docker","github-action","google","google-cloud","google-cloud-sql","google-cloud-sql-proxy"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-21T02:33:48.000Z","updated_at":"2025-04-30T14:43:37.000Z","dependencies_parsed_at":"2023-01-11T17:23:06.660Z","dependency_job_id":null,"html_url":"https://github.com/mattes/gce-cloudsql-proxy-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-cloudsql-proxy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-cloudsql-proxy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-cloudsql-proxy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-cloudsql-proxy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattes","download_url":"https://codeload.github.com/mattes/gce-cloudsql-proxy-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748934,"owners_count":21637414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudsql","cloudsql-proxy","docker","github-action","google","google-cloud","google-cloud-sql","google-cloud-sql-proxy"],"created_at":"2024-10-03T12:33:36.384Z","updated_at":"2025-04-30T17:03:18.783Z","avatar_url":"https://github.com/mattes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Cloud SQL Proxy\n\nGithub action which will start a [Google Cloud SQL Proxy](https://cloud.google.com/sql/docs/postgres/sql-proxy) as Docker container. \n\n## Prerequisites\n\nSet up the following resources manually in the Cloud Console \nor use a tool like [Terraform](https://www.terraform.io).\n\n* Running Cloud SQL instance with a public IP address\n* Create Service Account with Role `Cloud SQL Client` and export a new JSON key.\n\n\n## Github Action Inputs\n\n| Variable                         | Description                                                                 |\n|----------------------------------|-----------------------------------------------------------------------------|\n| `creds`                          | ***Required*** Service Account JSON Key (not base64 encoded)                |\n| `instance`                       | ***Required*** Cloud SQL connection name                                    |\n| `port`                           | Listen on port, default 5432                                                |\n| `proxy_version`                  | Cloud SQL Proxy version, default 1.21.0                                     |\n\n\n## Example Usage\n\n```\nuses: mattes/gce-cloudsql-proxy-action@v1\nwith:\n  creds: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}\n  instance: my-project:us-central1:instance-1\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Fgce-cloudsql-proxy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattes%2Fgce-cloudsql-proxy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Fgce-cloudsql-proxy-action/lists"}