{"id":16100445,"url":"https://github.com/elgohr/gcloud-login-action","last_synced_at":"2025-10-30T13:14:14.877Z","repository":{"id":65159649,"uuid":"224860621","full_name":"elgohr/gcloud-login-action","owner":"elgohr","description":"A Github Action which can be used to authenticate with Google Cloud Container Registry","archived":false,"fork":false,"pushed_at":"2025-08-11T19:51:12.000Z","size":21,"stargazers_count":23,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-13T13:29:50.625Z","etag":null,"topics":["actions","container-registry","gcloud","github-actions","publishing"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elgohr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-29T13:35:16.000Z","updated_at":"2025-08-11T19:51:14.000Z","dependencies_parsed_at":"2024-05-16T03:52:33.177Z","dependency_job_id":"be0a0c67-b7f4-46fb-af94-8da02e98d5c4","html_url":"https://github.com/elgohr/gcloud-login-action","commit_stats":{"total_commits":16,"total_committers":5,"mean_commits":3.2,"dds":0.5,"last_synced_commit":"ef736b239a2f47b76b0a58b688e9c603e65bb37a"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/elgohr/gcloud-login-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fgcloud-login-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fgcloud-login-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fgcloud-login-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fgcloud-login-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgohr","download_url":"https://codeload.github.com/elgohr/gcloud-login-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgohr%2Fgcloud-login-action/sbom","scorecard":{"id":372437,"data":{"date":"2025-08-11","repo":{"name":"github.com/elgohr/gcloud-login-action","commit":"8c1b3449fc2e18bbc0f784fdb072806e50ffa340"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/15 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/release.yml:13","Warn: no topLevel permission defined: .github/workflows/assign.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/automerge.yml:10","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/assign.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/elgohr/gcloud-login-action/assign.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/elgohr/gcloud-login-action/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/elgohr/gcloud-login-action/release.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:5","Warn: containerImage not pinned by hash: Dockerfile:12","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T13:17:52.244Z","repository_id":65159649,"created_at":"2025-08-18T13:17:52.244Z","updated_at":"2025-08-18T13:17:52.244Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281811709,"owners_count":26565794,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["actions","container-registry","gcloud","github-actions","publishing"],"created_at":"2024-10-09T18:46:46.966Z","updated_at":"2025-10-30T13:14:14.831Z","avatar_url":"https://github.com/elgohr.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcloud-Container-Registry-Login-Action\n\n[![Actions Status](https://github.com/elgohr/gcloud-login-action/workflows/Test/badge.svg)](https://github.com/elgohr/gcloud-login-action/actions)\n\nThis Action for Docker logs into [Google Cloud Container Registry](https://cloud.google.com/container-registry/) and gets the timely bound credentials for Docker.\n\n## Usage\n\n## Example pipeline\n\n```yaml\nname: Publish Docker\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v3\n    - name: Login to gcloud registry\n      id: gcloud\n      uses: elgohr/gcloud-login-action@v2\n      with:\n        account_key: ${{ secrets.GCLOUD_KEY }}\n    - name: Publish to Registry\n      uses: elgohr/Publish-Docker-Github-Action@v5\n      with:\n        name: myDocker/repository\n        username: ${{ env.username }}\n        password: ${{ env.password }}\n        registry: gcr.io, us.gcr.io, eu.gcr.io or asia.gcr.io\n```\n\n## Mandatory arguments\n\n`account_key` Base64 encoded service account key exported as JSON  \n\n## Outputs\n`username` the username for logging in  \n`password` the password for logging in  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgohr%2Fgcloud-login-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgohr%2Fgcloud-login-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgohr%2Fgcloud-login-action/lists"}