Behaviour
Latest is also created in default branch and not only on tag creation.
Branch name is created in default branch if edge is enabled.
Steps to reproduce this issue
- Enable
type=edge
- Enable
type=ref,event=branch
Expected behaviour
Latest only if the run is in a tag.
Branch name if default branch only if edge is disabled.
Actual behaviour
see Behaviour
Configuration
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2
with:
images: |
${{ env.IMAGE_NAME }}
ghcr.io/${{ env.IMAGE_NAME }}
tags: |
type=edge
type=ref,event=pr
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
flavor: |
suffix=-${{ matrix.jvm-impl }}
latest=${{ matrix.jvm-impl == 'hotspot' }}
Logs
first: first.txt
second: second.txt
PS: Is there any way to check all existing tags to decide if the current tag is the latest or only a patch for an older tag?
Behaviour
Latest is also created in default branch and not only on tag creation.
Branch name is created in default branch if edge is enabled.
Steps to reproduce this issue
type=edgetype=ref,event=branchExpected behaviour
Latest only if the run is in a tag.
Branch name if default branch only if edge is disabled.
Actual behaviour
see Behaviour
Configuration
-and swapped prefix and suffix)Logs
first: first.txt
second: second.txt
PS: Is there any way to check all existing tags to decide if the current tag is the latest or only a patch for an older tag?