enable latest tag for main flavor and tag.

fixes #200
This commit is contained in:
Jason Kulatunga 2023-07-29 18:09:30 -07:00
parent 80e0998a7d
commit 956368ce3c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ jobs:
with:
flavor: |
# only latest if push has a tag and we're building the "main" flavor
latest=${{ github.event_name == 'push' && matrix.flavor == 'main' && contains(github.ref, 'refs/tags/') }}
latest=${{ github.event_name == 'push' && matrix.flavor == 'main' && github.ref_type == 'tag' }}
tags: |
# if this is a tag'd build, prefix it with the flavor (eg. main-v1.2.3 and sandbox-v1.2.3)
type=ref,event=tag,prefix=${{ matrix.flavor }}-