Skip to content

Commit

Permalink
fixing event type for latest docker image tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Aug 9, 2023
1 parent 8c4e926 commit c2d82b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}-
Expand Down

0 comments on commit c2d82b3

Please sign in to comment.