Docker Build and Push
Description
Build a Docker image and push it to the Gitea container registry
Inputs
| name | description | required | default |
|---|---|---|---|
REGISTRY |
Container registry hostname |
false |
gitea.pixelparasol.com |
REGISTRY_USERNAME |
Registry login username |
false |
deac |
REGISTRY_TOKEN |
Registry login token or password |
true |
"" |
IMAGE_PATH |
Full registry image path (e.g. gitea.pixelparasol.com/stat-tackler/stat-tackler-api) |
true |
"" |
IMAGE_TAG |
Tag to apply in addition to latest (e.g. stage-) |
true |
"" |
PLATFORMS |
Comma-separated buildx platform list |
false |
linux/amd64,linux/arm/v7,linux/arm64 |
ARTIFACT_NAME |
Name of the build artifact to download |
false |
dist |
ARTIFACT_PATH |
Destination path for the downloaded artifact |
false |
dist |
TAG_LATEST |
Also tag and push the image as latest |
false |
false |
TAG_PREFIX |
Optional prefix to prepend to IMAGE_TAG (e.g. 'dev' produces 'dev-<tag>'). Does not affect the latest tag. |
false |
"" |
WORKING_DIRECTORY |
Working directory for the Docker build |
false |
. |
Runs
This action is a composite action.