Add is_default_branch conditional to latest tag
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
${{ secrets.DOCKER_USERNAME }}/jellyplex-watched,enable=${{ secrets.DOCKER_USERNAME != '' }}
|
||||
ghcr.io/${{ github.repository_owner }}/jellyplex-watched
|
||||
tags: |
|
||||
type=raw,value=latest,enable=${{ matrix.variant == 'alpine' }}
|
||||
type=raw,value=latest,enable=${{ matrix.variant == 'alpine' && is_default_branch }}
|
||||
type=raw,value=latest,suffix=-${{ matrix.variant }},enable={{ is_default_branch }}
|
||||
type=ref,event=branch,suffix=-${{ matrix.variant }}
|
||||
type=ref,event=pr,suffix=-${{ matrix.variant }}
|
||||
|
||||
Reference in New Issue
Block a user