Builds a Docker image
- Shell 100%
| src | ||
| action.yaml | ||
| LICENSE | ||
| README.md | ||
Docker Build Action
Builds a Docker image
Usage
- uses: https://forge.turtle-host.de/actions/docker-build@v1
with:
# Path to the Dockerfile.
# Example: prod.Dockerfile
# Default: Dockerfile
dockerfile: ''
# Context of the Docker build.
# Example: app/src
# Default: .
context: ''
# OCI registry that the resulting image belongs to. Defaults to the Forge registry.
# Note that images are not automatically pushed. This is just used to create references.
# Any protocols and sub-paths are automatically stripped.
# Example: forge.turtle-host.de
# Default: ${{ forgejo.server_url }}
registry: ''
# OCI repository, part of the image reference. Defaults to Forge repository name with owner.
# Example: actions/docker-build
# Default: ${{ forgejo.repository }}
repository: ''
# Tag(s) to apply to the final image. Separate by newline.
# Default: "latest"
tags: |
tag1
tag2