docker / docker/metadata-action
Add label customization/options
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 160
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 12
Description
These are probably different requests but here it goes.
- Would it be possible to have the same options that we have for images? Something like:
labels: |
name=my.label,value="my value",enable=true
The one I'm interested in is enable, but I figured it'd make sense to have it structured and not just
labels: |
my.label="my value",enable=true
but I would be happy with that 🙂
- Would it be possible to add expressions to labels? Or some way to add info from the action?
labels: |
version={{version}
branch={{branch}}
The same output that we get for steps.meta.outputs.version that automatically has the version no matter what kind of even triggered it would also be nice.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing image-option handling and the label configuration and expression-processing entry points. Compare the requested structured label options and action-derived values with the current configuration behavior; done means both requested label customization and value substitution have defined syntax and working behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100