pangea-it/Build, update and push to GHCR as well as GCPs Container Registry

Generic action to install node dependencies, build, test, update version and push docker image to GCPs Container Registry using Workload Identity Federation for authentication

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 16, 2022
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: pangea-it/build-push-docker-gcp-artifacts-registry@cb348b770c23c970cb83770be8bf8aba2efaaf7d # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
tokenGitHub access tokenyes${{ github.token }}
checkout_branchBranch to checkoutno
gcp_workload_identity_providerWorkload Identity Provider identifieryes
gcp_service_accountGCP service account emailyes
gcp_project_idGCP project IDyes
gcp_artifacts_repo_nameGCP artifcats repo. nameyes
gcp_artifacts_repo_locationGCP Artifacts Repo. locationyesme-west1
snyk_tokenSnyk tokenno
use_snykUsing Snyk or notyestrue
perform_testsPerform unit tests or notyestrue
npm_registryNPM registry URLyeshttps://npm.pkg.github.com/
npm_registry_scopeNPM registry scopeyes
docker_login_registryDocker login registryyesgcr.io
docker_login_userDocker login usernameyesoauth2accesstoken
ghcr_tag_ownerghcr.io org. name (owner)yes${{ github.repository_owner }}
docker_image_nameDocker image nameyes${{ github.event.repository.name }}
namedescription
tagversionupdated version updated in package.json
imagenamerepository name