toukanlabs/Generate tags
Genertaes semver compatible tags for docker images based on a slug reference (i.e, / converted to _)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| slug | the branch/tag reference in slug format (/ converted to _) | yes | — |
| image-name | A docker image name. e.g, myrepo/myimage | no | — |
| prefix | A prefix to append before all tag names (e.g, debug) | no | "" |
| suffix | A suffix to append after all tag names (e.g, a client-specific suffix) | no | "" |
| arch | An optional architecture suffix to append after all tag names (e.g, amd64, arm64, etc). This is useful when building multi-arch images. | no | — |
| allow-latest-tag | if false, will prevent a latest tag being added, even if this is the newest version | no | true |
| is-primary | if true, will add the default latest even when used with prefix or suffix, when the semver slug is the latest version | no | false |
| docker-user | The docker hub user account (needed if image is private) | no | — |
| docker-pass | The docker hub account password (needed if image is private) | no | — |
Outputs
| name | description |
|---|---|
| tags | A newline separated list of tags |
| slug | A new slug with any leading v stripped off for semvers |