actions-marketplace-validations/Docker action with gcr authentication helper
Simple extension for the docker/github-actions for able to support default GCR authentication in self-hosted runners.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cmd | commands to run( build-push | build | push ). | no | build-push |
| registry | Server address of Docker registry. If not set then will default to Docker Hub | no | eu.gcr.io |
| repository | Docker repository to tag the image with | yes | — |
| tags | Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags | no | — |
| tag_with_ref | Automatically tags the built image with the git reference as per the readme | no | true |
| tag_with_sha | Automatically tags the built image with the git short SHA as per the readme | no | true |
| path | Path to run docker build from | no | . |
| dockerfile | Name of the Dockerfile (Default is 'path/Dockerfile') | no | — |
| target | Sets the target stage to build | no | — |
| always_pull | Always attempt to pull a newer version of the image | no | true |
| build_args | Comma-delimited list of build-time variables | no | — |
| cache_froms | Comma-delimited list of images to consider as cache sources | no | — |
| labels | Comma-delimited list of labels to add to the built image | no | — |
| add_git_labels | Adds labels with git repository information to the built image | no | true |
| push | Whether to push the image | no | true |
Outputs
no outputs