{"id":14063093,"url":"https://github.com/mattes/gce-docker-push-action","last_synced_at":"2025-05-08T00:05:56.380Z","repository":{"id":65160831,"uuid":"297209378","full_name":"mattes/gce-docker-push-action","owner":"mattes","description":"Github action to push a docker image to Google Cloud's Container Registry.","archived":false,"fork":false,"pushed_at":"2020-09-23T23:54:54.000Z","size":2,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T00:05:47.211Z","etag":null,"topics":["container-registry","docker","docker-push","gce","github-action","google","google-cloud","google-cloud-container-registry"],"latest_commit_sha":null,"homepage":"","language":null,"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:36:14.000Z","updated_at":"2023-05-12T20:55:26.000Z","dependencies_parsed_at":"2023-01-05T05:02:56.986Z","dependency_job_id":null,"html_url":"https://github.com/mattes/gce-docker-push-action","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-docker-push-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-docker-push-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-docker-push-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Fgce-docker-push-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattes","download_url":"https://codeload.github.com/mattes/gce-docker-push-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973690,"owners_count":21834108,"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":["container-registry","docker","docker-push","gce","github-action","google","google-cloud","google-cloud-container-registry"],"created_at":"2024-08-13T07:03:02.758Z","updated_at":"2025-05-08T00:05:56.358Z","avatar_url":"https://github.com/mattes.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Google Cloud Container Registry Docker Push\n\nGithub action to push a docker image to [Google Cloud's Container Registry](https://cloud.google.com/container-registry). \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* Enable Container Registry API\n* Create Service Account with Role `Storage Admin` 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| `src`                            | ***Required*** Source Image                                                 |\n| `dst`                            | ***Required*** Destination Image                                            |\n| `registry`                       |  Registry host name (must match destination image), default: \"gcr.io\"       |\n\n\n## Example Usage\n\n```\nuses: mattes/gce-docker-push-action@v1\nwith:\n  creds: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}\n  src: org/local-image:build\n  dst: gcr.io/my-project/my-image:${{github.run_number}}-${{github.sha}}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Fgce-docker-push-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattes%2Fgce-docker-push-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Fgce-docker-push-action/lists"}