meysam81/docker-build-plus
Build, push and scan Docker images
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| build-args | Build arguments | no | "" |
| cache-from | Cache from | no | type=gha |
| cache-to | Cache to | no | type=gha,mode=max |
| checkout | Whether or not to checkout the repository | no | true |
| context | Context of the Dockerfile | no | . |
| cosign | Whether or not to sign the image with Cosign | no | false |
| dockerfile | Dockerfile | no | "" |
| dockerhub-password | Docker Hub password | no | "" |
| dockerhub-username | Docker Hub username | no | "" |
| github-token | GitHub token | yes | ${{ github.token }} |
| image-extra-tags | Image tags | no | "" |
| image-name | Image name | yes | — |
| image-target | Target stage of the Dockerfile | no | "" |
| kubescape | Whether or not to run Kubescape | no | false |
| kubescape-upload-sarif | Whether or not to upload Kubescape SARIF results | no | false |
| metadata-tags | Metadata tags | no | "" |
| platforms | Platforms to build for | no | linux/amd64,linux/arm64 |
| pre-build-commands | A set of bash commands to run before building the docker image | no | "" |
| pull | Whether or not to pull the base image | no | false |
| push | Whether or not to push image to registry | no | true |
| ref | Ref to checkout | no | "" |
| repository | Repository to checkout | no | ${{ github.repository }} |
| registry-password | The password to use when scanning the image with Kubescape | no | "" |
| registry-username | The username to use when scanning the image with Kubescape | no | "" |
| runner | Runner to use | no | ubuntu-latest |
| scout-comment-pr | Whether or not to comment on PR | no | false |
| scout-compare | Whether or not to run scout compare | no | false |
| scout-cves | Whether or not to run scout CVEs | no | false |
| submodules | Whether or not to checkout submodules | no | "" |
Outputs
| name | description |
|---|---|
| digest | Image digest |
| imageid | Image ID |
| metadata | Build result metadata |