{"id":19601249,"url":"https://github.com/tonglil/auth-gke","last_synced_at":"2026-04-16T01:32:01.401Z","repository":{"id":24552496,"uuid":"101901786","full_name":"tonglil/auth-gke","owner":"tonglil","description":"Get the credentials for the GKE cluster using a GCP service account JSON credential","archived":false,"fork":false,"pushed_at":"2025-10-28T04:54:23.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-28T06:16:57.538Z","etag":null,"topics":["drone","drone-plugin","gcloud","gcloud-sdk","gcp","gke","google-cloud","google-cloud-platform","kubernetes"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/tonglil/auth-gke/","language":"Shell","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/tonglil.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-30T16:01:40.000Z","updated_at":"2025-10-28T04:46:41.000Z","dependencies_parsed_at":"2025-02-26T15:35:04.097Z","dependency_job_id":"73dc82ef-9a9f-42bc-815f-eff191ea2547","html_url":"https://github.com/tonglil/auth-gke","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/tonglil/auth-gke","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonglil%2Fauth-gke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonglil%2Fauth-gke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonglil%2Fauth-gke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonglil%2Fauth-gke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonglil","download_url":"https://codeload.github.com/tonglil/auth-gke/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonglil%2Fauth-gke/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["drone","drone-plugin","gcloud","gcloud-sdk","gcp","gke","google-cloud","google-cloud-platform","kubernetes"],"created_at":"2024-11-11T09:17:42.713Z","updated_at":"2026-04-16T01:32:01.333Z","avatar_url":"https://github.com/tonglil.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auth-gke\n\nGet the credentials for the GKE cluster using a GCP service account JSON credential.\n\nBased on https://github.com/tonglil/auth-gcloud.\n\n## Usage\n\n```sh\ndocker run \\\n  -e TOKEN=\"$(cat service-account.json)\" \\\n  -e PROJECT=my-project \\\n  -e LOCATION=us-central1-b \\\n  -e CLUSTER=my-cluster \\\n  tonglil/auth-gke\n```\n\n## Example\n\n### Drone 1+\n\n```yml\npipeline:\n  gke-actions:\n    image: tonglil/auth-gke\n    environment:\n      PROJECT: my-project\n      LOCATION: us-central1-b # zone or region\n      CLUSTER: my-cluster\n    commands:\n      - auth-gke\n      - kubectl ...\n    secrets: [google_credentials]\n```\n\n### Drone 0.5+\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpand\u003c/summary\u003e\n\n```yml\nsteps:\n- name: gke-actions\n  image: tonglil/auth-gke\n  environment:\n    PROJECT: my-project\n    LOCATION: us-central1-b # zone or region\n    CLUSTER: my-cluster\n    TOKEN:\n      from_secret: google_credentials\n  commands:\n    - auth-gke\n    - kubectl ...\n```\n\u003c/details\u003e\n\n## Releasing\n\nUse the base image's `gcloud` version number as the tag:\n\n```\nmake pull\nmake version\n```\n\n## Changelog\n\nSee release notes: https://github.com/tonglil/auth-gke/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonglil%2Fauth-gke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonglil%2Fauth-gke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonglil%2Fauth-gke/lists"}