mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 03:23:59 +00:00
1.1 KiB
1.1 KiB
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
- 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