mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 11:34:00 +00:00
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
# ivuorinen/actions/docker-publish
|
|
|
|
## Docker Publish
|
|
|
|
### Description
|
|
|
|
Publish a Docker image to GitHub Packages and Docker Hub.
|
|
|
|
### Inputs
|
|
|
|
| name | description | required | default |
|
|
|------------|-------------------------------------------------------------|----------|---------|
|
|
| `registry` | <p>Registry to publish to (dockerhub, github, or both).</p> | `true` | `both` |
|
|
| `nightly` | <p>Is this a nightly build? (true or false)</p> | `false` | `false` |
|
|
|
|
### Outputs
|
|
|
|
| name | description |
|
|
|------------|-------------------------------------------|
|
|
| `registry` | <p>Registry where image was published</p> |
|
|
|
|
### 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
|
|
```
|