File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Build and Publish Container Release
33on :
44 push :
55 tags :
6- - ' v0 .*' # Triggers on tags like 0.39, 0.40 etc.
6+ - ' v* .*'
77
88jobs :
99 build-and-publish :
3838
3939 - name : Extract version from tag
4040 id : get_version
41- # Removes 'refs/tags/' prefix to get the clean version number
4241 run : echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
4342
4443 - name : Build and push Docker image
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Create Release
33on :
44 push :
55 tags :
6- - ' v*.*.* ' # Runs on tags like v0.40.0
6+ - ' v*.*'
77
88jobs :
99 release :
2727 ${{ runner.os }}-maven-
2828
2929 - name : Build with Maven
30- run : mvn -B package # 'package' phase creates the final zip artifact
30+ run : mvn -B package
3131
3232 - name : Create GitHub Release
3333 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments