Skip to content

Commit 802ac8c

Browse files
committed
ci: only tag latest from main, never from version tags
1 parent 9d6a05a commit 802ac8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/docker-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
images: ${{ steps.images.outputs.list }}
6969
tags: |
7070
type=raw,value=${{ steps.vars.outputs.version }}
71-
type=raw,value=latest,enable=${{ !contains(steps.vars.outputs.version, '-') }}
71+
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
7272
7373
- name: Login to GitHub Container Registry
7474
uses: docker/login-action@v3

0 commit comments

Comments
 (0)