Docker build push
This Action builds then pushes a Docker container from the repository.
Docker build push
- uses: Yellow-Dog-Man/composite-actions-templates/.github/actions/docker-build-push@main
with:
docker-token: (1)
docker-image-name: (2)
Docker auth token for the registry.
The name of the Docker image.
Builds a Docker container and pushes it to the specified registry.
Inputs: ยค
| Name | Description | Default |
|---|---|---|
docker-registry
|
Registry which Docker will push to. |
ghcr.io
|
docker-token
|
Docker auth token for the registry. |
|
dockerfile-path
|
Path to the Dockerfile file. |
${{ github.workspace }}/Dockerfile
|
docker-context-path
|
Context to pass to the Docker daemon for the build. |
.
|
docker-platforms
|
List of platforms to build the image for. |
linux/amd64
|
docker-image-name
|
The name of the Docker image. |
Source of Yellow-Dog-Man/composite-actions-templates/.github/actions/docker-build-push@main
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |