{"id":5919656,"name":"dmsi-io/gha-cloudrun-deploy","ecosystem":"actions","description":"Facilitates the deployment of applications to Cloud Run for both normal production deployment and PR feature branch deployment","homepage":"","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/dmsi-io/gha-cloudrun-deploy","keywords_array":["deploy","deployment","github-actions","google-cloud-platform"],"namespace":"dmsi-io","versions_count":4,"first_release_published_at":"2022-03-31T16:21:39.000Z","latest_release_published_at":"2022-10-25T19:53:18.000Z","latest_release_number":"v1.0.3","latest_published_release_number":null,"last_synced_at":"2026-03-12T23:48:00.789Z","created_at":"2023-01-22T00:01:56.674Z","updated_at":"2026-09-12T16:40:01.820Z","registry_url":"https://github.com/dmsi-io/gha-cloudrun-deploy","install_command":null,"documentation_url":null,"metadata":{"name":"Deploy Cloud Run Application","description":"Facilitates the deployment of applications to Cloud Run for both normal production deployment and PR feature branch deployment","inputs":{"GCP_IDENTITY_PROVIDER":{"description":"GCP Workload Identity Provider","required":false},"GCP_SERVICE_ACCOUNT":{"description":"GCP Service Account email","required":false},"GCP_SA_KEY":{"description":"GCP Service Account Key (JSON)","required":false,"deprecationMessage":"It is recommended to instead use Workload Identity Federation with the GCP_IDENTITY_PROVIDER and GCP_SERVICE_ACCOUNT inputs."},"GCP_PROJECT_ID":{"description":"GCP Project ID","required":true},"REGISTRY_HOSTNAME":{"description":"Hostname of Container Registry","default":"gcr.io","required":false},"port":{"description":"Port of Docker image to receive traffic","default":"80","required":false}},"outputs":{"url":{"description":"URL","value":"${{ steps.deploy_url.outputs.url }}"}},"runs":{"using":"composite","steps":[{"name":"Export Environment Variables","uses":"dmsi-io/gha-env-variables@v1","id":"variables","with":{"TLD":"${{ inputs.TLD }}","GCP_PROJECT_ID":"${{ inputs.GCP_PROJECT_ID }}"}},{"name":"Setup GCloud Auth","id":"auth","uses":"google-github-actions/auth@v0","with":{"workload_identity_provider":"${{ inputs.GCP_IDENTITY_PROVIDER }}","service_account":"${{ inputs.GCP_SERVICE_ACCOUNT }}","credentials_json":"${{ inputs.GCP_SA_KEY }}","token_format":"access_token"}},{"uses":"docker/login-action@v2","with":{"registry":"${{ inputs.REGISTRY_HOSTNAME }}","username":"oauth2accesstoken","password":"${{ steps.auth.outputs.access_token }}"}},{"name":"Containerize","run":"docker build -t ${{ steps.variables.outputs.build_image }} .","shell":"bash"},{"name":"Publish","run":"docker push ${{ steps.variables.outputs.build_image }}","shell":"bash"},{"name":"Deploy PR to Cloud Run","if":"github.event_name == 'pull_request'","id":"deploy_pr","uses":"google-github-actions/deploy-cloudrun@v0","with":{"service":"${{ steps.variables.outputs.service_name }}","image":"${{ steps.variables.outputs.build_image }}","tag":"pr-${{ github.event.pull_request.number }}","no_traffic":true,"flags":"--port=${{ inputs.port }} --allow-unauthenticated"}},{"name":"Deploy to Cloud Run","if":"github.event_name != 'pull_request'","id":"deploy","uses":"google-github-actions/deploy-cloudrun@v0","with":{"service":"${{ steps.variables.outputs.service_name }}","image":"${{ steps.variables.outputs.build_image }}","flags":"--port=${{ inputs.port }} --allow-unauthenticated"}},{"name":"Update traffic to latest","if":"github.event_name != 'pull_request'","uses":"google-github-actions/deploy-cloudrun@v0","with":{"service":"${{ steps.variables.outputs.service_name }}","image":"${{ steps.variables.outputs.build_image }}","revision_traffic":"LATEST=100"}},{"name":"Output Deployment URL","id":"deploy_url","run":"if [ -n \"${{ steps.deploy_pr.outputs.url }}\" ]; then\n  echo \"url=${{ steps.deploy_pr.outputs.url }}\" \u003e\u003e $GITHUB_OUTPUT\n\nelse\n  echo \"url=${{ steps.deploy.outputs.url }}\" \u003e\u003e $GITHUB_OUTPUT\n\nfi\n","shell":"bash"}]},"default_branch":"main","path":null},"repo_metadata":{"uuid":"472397475","full_name":"dmsi-io/gha-cloudrun-deploy","owner":"dmsi-io","description":"Deploys code to Google Cloud Run","archived":false,"fork":false,"pushed_at":"2022-11-29T17:23:17.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2023-07-12T15:50:44.869Z","etag":null,"topics":["deploy","deployment","github-actions","google-cloud-platform"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmsi-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2022-03-21T15:26:51.000Z","updated_at":"2022-07-28T19:14:45.000Z","dependencies_parsed_at":"2023-01-21T11:39:06.880Z","dependency_job_id":null,"html_url":"https://github.com/dmsi-io/gha-cloudrun-deploy","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.21052631578947367","last_synced_commit":"8c0d83540c14e9b83716865376c50c716b907d6a"},"previous_names":[],"tags_count":4,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":145714429,"owners_count":6279668,"icon_url":"https://github.com/github.png","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"},"owner_record":{"login":"dmsi-io","name":"DMSi","uuid":"94390030","kind":"organization","description":"","email":null,"website":"https://dmsi.com","location":"United States of America","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/94390030?v=4","repositories_count":29,"last_synced_at":"2023-03-09T07:36:04.679Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/dmsi-io","created_at":"2022-11-18T20:55:45.485Z","updated_at":"2023-03-09T07:36:04.725Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmsi-io/repositories"},"tags":[{"name":"v1.0.3","sha":"8408cf480c3e53855f6f032d3779d2f8b0e456a7","kind":"commit","published_at":"2022-10-25T19:53:18.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-cloudrun-deploy/tar.gz/v1.0.3","html_url":"https://github.com/dmsi-io/gha-cloudrun-deploy/releases/tag/v1.0.3","dependencies_parsed_at":"2023-06-01T13:55:02.705Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"239577ca829e84ce81dbce0f6c56c197e97355de","kind":"commit","published_at":"2022-10-25T18:20:29.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-cloudrun-deploy/tar.gz/v1.0.2","html_url":"https://github.com/dmsi-io/gha-cloudrun-deploy/releases/tag/v1.0.2","dependencies_parsed_at":"2023-06-01T13:55:03.346Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"44b0ac459ae6270c0ca820e42c6cabf46d4233bd","kind":"commit","published_at":"2022-10-19T18:05:41.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-cloudrun-deploy/tar.gz/v1.0.1","html_url":"https://github.com/dmsi-io/gha-cloudrun-deploy/releases/tag/v1.0.1","dependencies_parsed_at":"2023-06-01T13:55:03.893Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1.0.1/manifests"},{"name":"v1","sha":"8622af6cb162251311dcdef62136ad734b5fadea","kind":"tag","published_at":"2022-03-31T16:21:39.000Z","download_url":"https://codeload.github.com/dmsi-io/gha-cloudrun-deploy/tar.gz/v1","html_url":"https://github.com/dmsi-io/gha-cloudrun-deploy/releases/tag/v1","dependencies_parsed_at":"2023-05-31T01:58:00.375Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmsi-io%2Fgha-cloudrun-deploy/tags/v1/manifests"}]},"repo_metadata_updated_at":"2026-09-12T16:40:01.816Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.77895737601014,"dependent_packages_count":0.0,"stargazers_count":48.39486610679766,"forks_count":35.18301378545397,"docker_downloads_count":null,"average":27.089209317065443},"purl":"pkg:githubactions/dmsi-io/gha-cloudrun-deploy","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/dmsi-io/gha-cloudrun-deploy","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/dmsi-io/gha-cloudrun-deploy","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/dmsi-io/gha-cloudrun-deploy/dependencies","status":"removed","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-09T09:53:12.591Z","issues_count":0,"pull_requests_count":5,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":52069.6,"issues_closed_count":0,"pull_requests_closed_count":5,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":2.2,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":82512.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":2.5,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/dmsi-io%2Fgha-cloudrun-deploy/codemeta","maintainers":[]}