Skip to content

Commit 6b059c7

Browse files
MayorFajSamMorrowDrums
authored andcommitted
fix: update Docker publish workflow to correctly handle version tagging
1 parent 778b840 commit 6b059c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
type=match
8080
type=pep440
8181
# Custom rule to prevent pre-releases from getting latest tag
82-
type=raw,value=latest,enable=${{ !contains(github.ref, '-') && github.ref_type == 'tag' }}
82+
type=raw,value=latest,enable=${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-') }}
8383
8484
- name: Go Build Cache for Docker
8585
uses: actions/cache@v4

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy