creshpay/Build, tag and push a docker container to a registry with cache settings
This action can build, tag and push a docker image to a registry (ghcr.io by defaults).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| registry | Container regisry | no | ghcr.io |
| username | Registry username | yes | — |
| password | Registry password | yes | — |
| dockerfile | Dockerfile path | no | Dockerfile |
| image-name | Docker image name | yes | — |
| github-sha | Github sha | yes | — |
| action | Github action that trigerred the worflow | yes | — |
| merged | Flag (true/false) to tell if it is a merged PR or not | yes | — |
| build-args | Docker build args, newline-delimited string | no | — |
| context | Build context (folder) | no | . |
| cache-type | Cache type (either inline or local or registry or gha) | no | local |
| tag-prefix | Tag prefix (eg. when using monorepo) | no | "" |
| tag-suffix | Tag suffix (eg. when using monorepo) | no | "" |
| push | Allow to disable image push | no | true |
| version-pattern | Match version pattern to find semver version in prefixed tags | no | "" |
Outputs
| name | description |
|---|---|
| tags | Docker image tags |