CrazyMax
CrazyMax
@ying-jeanne This is not related, see https://github.com/docker/login-action/issues/29#issuecomment-731206108.
Yes indeed. `type=sha` already has a default prefix `sha-` and `type=ref,event=pr` too with `pr-` prefix. Therefore a global prefix can't be applied atm. I think we could allow a global...
@fardog I think I will do another implementation using a `mode` attr to prefix/suffix flavors like: ```yaml - id: meta uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} flavor:...
Can you show an example of versioning? It should be compliant with https://semver.org/
Thanks for your feedback. I don't think we need an extra variable, build metadata for semver should be included whatever the case.
Fine to have it, contrib welcomed thanks
There is no `type=branch`, did you mean `type=ref,event=branch`?
The action does not support the [`workflow_run` event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run). I will look at it.
I think this should work: ```yaml type=ref,event=branch,enable={{is_default_branch}},prefix=this-is-main- type=ref,event=branch,enable={{#if is_default_branch}}false{{else}}true{{/if}},prefix=this-is-not- ```
I think we could add a separator to the `git` context following by the path you want to use. Something like: ```yaml - name: Docker meta id: meta uses: docker/metadata-action@v4...