-
I'm trying to get a manual trigger for a docker build going (mainly for testing the build when I want to). I've set up a The docs at https://github.com/docker/metadata-action?tab=readme-ov-file#typeref list the events available as So, my question is, should I be able to use |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
It's just an event type triggering the workflow.
Edit: Ah tags as well so |
Beta Was this translation helpful? Give feedback.
-
Thanks, I've been getting my ref types and events mixed up for one thing. So, I think that table below the list of supported events is a bit confusing, I went straight to reading that rather than the actual list above it. |
Beta Was this translation helpful? Give feedback.
-
Yep, that did it, thanks for the help! I'm using |
Beta Was this translation helpful? Give feedback.
workflow_dispatch
is a github event, not a ref type. As stated in the docs, onlybranch
,tag
andpr
are valid ref type: https://github.com/docker/metadata-action?tab=readme-ov-file#typerefIt's just an event type triggering the workflow.
workflow_dispatch
only handles branch ref so in your case it would only work withtype=ref,event=branch
intags
. More info: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#…