# ivuorinen/actions/docker-publish ## Docker Publish ### Description Publish a Docker image to GitHub Packages and Docker Hub. ### Inputs | name | description | required | default | |------------|-------------------------------------------------------------|----------|---------| | `registry` |

Registry to publish to (dockerhub, github, or both).

| `true` | `both` | | `nightly` |

Is this a nightly build? (true or false)

| `false` | `false` | ### Outputs | name | description | |------------|-------------------------------------------| | `registry` |

Registry where image was published

| ### Runs This action is a `composite` action. ### Usage ```yaml - uses: ivuorinen/actions/docker-publish@main with: registry: # Registry to publish to (dockerhub, github, or both). # # Required: true # Default: both nightly: # Is this a nightly build? (true or false) # # Required: false # Default: false ```