fixing event type for `latest` docker image tag.
This commit is contained in:
parent
8c4e926d20
commit
c2d82b3195
|
@ -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' && github.ref_type == 'tag' }}
|
||||
latest=${{ github.event_name == 'release' && 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 }}-
|
||||
|
|
Loading…
Reference in New Issue