Skip to content

Commit 94a733e

Browse files
committed
Fixed tags
Signed-off-by: Moritz Friedrich <moritz@matchory.com>
1 parent ae6283c commit 94a733e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ jobs:
190190
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
191191
org.opencontainers.image.version=${{ env.VERSION }}
192192
tags: |
193-
${{ env.VERSION }}
194-
type=sha,prefix=${{ env.VERSION }}-
193+
type=sha,enable=${{ env.VERSION == '' }}
194+
type=raw,value=latest,enable=${{ env.VERSION == '' }}
195+
type=sha,enable=${{ env.VERSION != '' }},prefix=${{ env.VERSION }}-
195196
196197
- name: Build and Push
197198
id: build

0 commit comments

Comments
 (0)