vivantehealth/Promote docker image
Adds current branch tag and specified environment tag to a docker image. Determines source tag by examining PR that introduced the current commit.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | New tag to apply to image | yes | — |
| add_ref_tag | Whether to apply a docker tag based on the current branch or github tag | no | true |
| image_name | Name of the docker image. Image will be available in the registry at a location such as 'us-docker.pkg.dev/build-artifacts-tools-b6f1/<repo-name>/<image_name>:<git_sha>'. | no | image |
| workload_identity_provider | Google CLoud Workload Identity Provider | yes | — |
| gcp_service_account | Google Service Account | yes | — |
| docker_registry | Docker registry URI | yes | — |
Outputs
| name | description |
|---|---|
| unique_docker_tag | Docker tag of the image that got promoted. This is used when the stack also contains a consumer of this image. For example, when terraform deploys cloud run using the image promoted here, it should specify a unique tag, rather than an environment tag, in order to deploy atomicly. |