pribal/Build Secure Docker Image
Build a Docker image and scan it with Dockle for security best practices
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 6, 2025
- License
- None
Pinned Snippet
uses: pribal/build-secure-docker-image@0deabf2da39b588622eeb6032d8a0b74b5f3d6ce # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | Docker image name and tag in "name:tag" format | yes | — |
| path | Directory where the Docker build command should run (default ".") | no | . |
| dockerfile | Path to the Dockerfile relative to the "path" input (default "Dockerfile") | no | Dockerfile |
| docker-build-command | Custom command to build the Docker image (default: "docker build -f <dockerfile> -t <tag> <path>"") | no | — |
| dockle-version | Dockle version to use (default: latest release) | no | — |
| dockle-exit-code | Exit code returned by Dockle when WARN or FATAL issues are found (default: 1) | no | 1 |
| dockle-exit-level | Dockle exit level threshold (INFO, WARN, or FATAL). (default: WARN) | no | WARN |
Outputs
no outputs