mirror of
https://github.com/ivuorinen/actions.git
synced 2026-02-21 07:50:06 +00:00
feat: add GitHub Actions workflows for code quality and automation (#2)
This commit is contained in:
42
docker-publish/README.md
Normal file
42
docker-publish/README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user