feat: add GitHub Actions workflows for code quality and automation (#2)

This commit is contained in:
2025-02-02 00:42:19 +02:00
committed by GitHub
parent af6ecdf6ca
commit 210aa969b3
105 changed files with 8807 additions and 408 deletions

42
docker-publish/README.md Normal file
View 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
```