Skip to content

Commit 510fdcf

Browse files
committed
fix: correct build tags
1 parent 555a859 commit 510fdcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
short=$(git describe --tags --abbrev=0)
4040
export version="${descr#v}"
4141
if [[ $descr == $short ]]; then
42-
minor="${version#*.}"
42+
minor="${version%.*}"
4343
major="${version%%.*}"
4444
ko build --bare --sbom=none -t edge -t latest -t "$version" -t "$minor" -t "$major" .
4545
else

0 commit comments

Comments
 (0)