-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Description
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 and main.
How can I prevent main's creation?
This is my configuration:
- name: Extract metadata
id: metadata
uses: docker/metadata-action@v5
with:
images: |
rob93c/stickerify
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=ref,event=pr