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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 16, 2022
- License
- None
Pinned Snippet
uses: pangea-it/build-push-docker-gcp-artifacts-registry@cb348b770c23c970cb83770be8bf8aba2efaaf7d # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub access token | yes | ${{ github.token }} |
| checkout_branch | Branch to checkout | no | — |
| gcp_workload_identity_provider | Workload Identity Provider identifier | yes | — |
| gcp_service_account | GCP service account email | yes | — |
| gcp_project_id | GCP project ID | yes | — |
| gcp_artifacts_repo_name | GCP artifcats repo. name | yes | — |
| gcp_artifacts_repo_location | GCP Artifacts Repo. location | yes | me-west1 |
| snyk_token | Snyk token | no | — |
| use_snyk | Using Snyk or not | yes | true |
| perform_tests | Perform unit tests or not | yes | true |
| npm_registry | NPM registry URL | yes | https://npm.pkg.github.com/ |
| npm_registry_scope | NPM registry scope | yes | — |
| docker_login_registry | Docker login registry | yes | gcr.io |
| docker_login_user | Docker login username | yes | oauth2accesstoken |
| ghcr_tag_owner | ghcr.io org. name (owner) | yes | ${{ github.repository_owner }} |
| docker_image_name | Docker image name | yes | ${{ github.event.repository.name }} |
Outputs
| name | description |
|---|---|
| tagversion | updated version updated in package.json |
| imagename | repository name |