We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 555a859 commit 510fdcfCopy full SHA for 510fdcf
.github/workflows/build.yml
@@ -39,7 +39,7 @@ jobs:
39
short=$(git describe --tags --abbrev=0)
40
export version="${descr#v}"
41
if [[ $descr == $short ]]; then
42
- minor="${version#*.}"
+ minor="${version%.*}"
43
major="${version%%.*}"
44
ko build --bare --sbom=none -t edge -t latest -t "$version" -t "$minor" -t "$major" .
45
else
0 commit comments