cam3ron2/Predefined Build/Push
Builds a docker image and pushes a registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| file | Path to the Dockerfile | no | Dockerfile |
| context | Build's context is the set of files located in the specified PATH or URL | no | . |
| build-args | Arguments to pass to the Dockerfile | no | "" |
| registry | Registry that houses the repository | no | "" |
| repository | Repository to push to | yes | "" |
| push | Push the image to the registry | no | true |
| username | Username for the registry | yes | "" |
| password | Password for the registry | yes | "" |
| publish-cache | If true, create an artifact | no | true |
| trivy | Use Trivy to scan the resulting image | no | false |
| trivy_upload | Upload Trivy scan results to GitHub Security tab | no | true |
Outputs
| name | description |
|---|---|
| imageid | Image ID |
| digest | Image digest |
| metadata | Build result metadata |
| default_tag | Default tag |