dioptra-io/Build and push Docker image
Composite action to build and push a Docker image to a registry.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| context | Build's context is the set of files located in the specified PATH or URL | yes | . |
| file | Path to the Dockerfile | yes | ./Dockerfile |
| image | Name of the Docker image | yes | ${{ github.repository }} |
| registry | Address of the Docker registry | yes | ghcr.io |
| username | Username for the Docker registry | yes | ${{ github.actor }} |
| password | Password for the Docker registry | yes | — |
| platforms | Target platforms for the Docker image | yes | linux/amd64 |
| push | Whether or not to push the image to the registry | yes | true |
Outputs
no outputs