jemand771/docker-build
Build docker image
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Token for accessing GHCR. Set to secrets. Set to GITHUB_TOKEN. Omit to disable docker login. | no | — |
| platforms | List of target platforms for docker buildx | no | linux/amd64,linux/arm64,linux/arm/v7 |
| images | List of names to tag the image with | no | ghcr.io/${{ github.repository }} |
| context | Context for buildx to use | no | . |
| file | Path of the Dockerfile to use | no | — |
| push_strategy | How to publish images. Can be one of none, push, artifact | no | push |
| args | arguments to pass to docker build (ARG in dockerfile) | no | "" |
| tag-semver | whether to tag using semver, i.e. v1.2.3 turns into :1, :1.2, and :1.2.3 | no | true |
| tag-branch | whether to tag pushes to any branch as pr-<branch> | no | true |
| tag-pr | whether to tag all PRs as pr-<number> | no | true |
| tag-sha-short | whether to tag all commits as sha-<short hash> | no | false |
| tag-sha-long | whether to tag all commits as sha-<hash> | no | false |
| tag-datetime | whether to tag all builds with their build date and time | no | false |
| tag-date | whether to tag all builds with their build date | no | false |
| extra-tag-rules | extra rules to pass to docker/metadata-action | no | "" |
| disable-cache | disable buildx docker cache | no | false |
| target | target stage to build | no | "" |
Outputs
no outputs