Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support list of labels #58

Closed
sagikazarmark opened this issue Jun 16, 2023 · 2 comments · Fixed by #59
Closed

Support list of labels #58

sagikazarmark opened this issue Jun 16, 2023 · 2 comments · Fixed by #59

Comments

@sagikazarmark
Copy link

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!

@mheap
Copy link
Owner

mheap commented Jun 17, 2023

This is now available in @v5

@sagikazarmark
Copy link
Author

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants