You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on my Docker workflow, I noticed that when merging changes to my main (the default branch in my case) 2 tags are created: latest and main.
Unfortunately it seems handlebars doesn't provide a ! operator, so you'd need the action to also provide {{is_not_default_branch}}, but for now you can hard-code the branch:
Try type=ref,event=branch,enable=${{ github.ref != 'refs/heads/main' }}? That should opt out.
Description
While working on my Docker workflow, I noticed that when merging changes to my
main
(the default branch in my case) 2 tags are created:latest
andmain
.How can I prevent
main
's creation?This is my configuration:
The text was updated successfully, but these errors were encountered: