We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0684307 commit e9487bfCopy full SHA for e9487bf
1 file changed
.github/workflows/docker-publish.yml
@@ -79,7 +79,7 @@ jobs:
79
type=match
80
type=pep440
81
# Custom rule to prevent pre-releases from getting latest tag
82
- type=raw,value=latest,enable=${{ !contains(github.ref, '-') && github.ref_type == 'tag' }}
+ type=raw,value=latest,enable=${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
83
84
- name: Go Build Cache for Docker
85
uses: actions/cache@v4
0 commit comments