actions-marketplace-validations/Push to GCR GitHub Action

An action that build docker image and push to Google Cloud Registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 13, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/rafikfarhad_push-to-gcr-github-action@e6fd4fb5c4b92fb4cfe55900729ec9edfe9506ab # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
gcloud_service_keyGoogle cloud service key json file as plain text or base64 encrypted. This field is optional if you are using this action with https://github.com/google-github-actions/authno
registryThe registry where the image should be pushednogcr.io
project_idThe project idyesmy-awesome-project
image_nameThe image nameyesbackend-server
image_tagTag namenolatest
dockerfileDockerfile that will build the imageno""
contextDocker build contextno.
targetMulti-staged build targetno""
build_argsPass a list of env vars as build-args for docker-build, separated by commasno
push_onlySkip the build step and just push an imagenofalse

no outputs