phorus-group/Docker Action
A GitHub action to build and push a docker image from a default or custom Dockerfile
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dockerfiles-repository | Repository containing the Dockerfile to use. Needs dockefile-path input to work | no | — |
| dockerfile-path | Dockerfile path inside the dockerfiles-repository | no | — |
| image | The image name | no | ${{ github.event.repository.full_name }} |
| tag | Extra image tag | no | — |
| push | Whether to push the image or not. The latest tag will be pushed only from the main branch | no | false |
| disable-login | Disable docker login | no | false |
| registry | Docker registry | no | ghcr.io |
| registry-user | Docker registry user | no | ${{ github.actor }} |
| registry-password | Docker registry password | no | ${{ github.token }} |
| dockerhub-username | Docker Hub username for authenticated pulls (avoids rate limits on shared runners) | no | — |
| dockerhub-password | Docker Hub password or token for authenticated pulls | no | — |
| vulnerability-analysis | Run vulnerability analysis | no | true |
| upload-sarif | Upload the sarif file to the GitHub Security tab. Disable if you don't have GitHub Advanced Security | no | false |
Outputs
| name | description |
|---|---|
| image | Image name with an SHA tag |
| image-tag | The image tag only |