Skip to content

Commit 2c5513f

Browse files
committed
Changed GH action to publish images from the preview branch too
1 parent b227329 commit 2c5513f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
3232
with:
3333
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
34-
flavor: |
35-
latest=true
3634
tags: |
35+
# set latest tag for main branch only
36+
type=raw,value=latest,enable=main
3737
type=ref,event=branch
3838
type=sha
3939

0 commit comments

Comments
 (0)