When the list of labels is long, it's not very easy to manage them in a single line and comma separation.
Many actions support lists of items like this:
-
name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
# list of Docker images to use as base name for tags
images: |
name/app
ghcr.io/username/app
# generate Docker tags based on the following events/attributes
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
Adding support for labels like these would be nice. Thanks!
When the list of labels is long, it's not very easy to manage them in a single line and comma separation.
Many actions support lists of items like this:
Adding support for labels like these would be nice. Thanks!