We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d67eeb commit 2ef55d1Copy full SHA for 2ef55d1
.github/workflows/on-release-tag.yaml
@@ -43,6 +43,11 @@ jobs:
43
- name: Build
44
env:
45
DOCKER_PUSH: true
46
- run: ./gradlew \
47
- -Pversion=${"${{ github.event.inputs.version }}":-${GITHUB_REF_NAME#v}} \
48
- bootBuildImage
+ run: |
+ # Determine version from tag or input
+ VERSION="${{ github.event.inputs.version || '' }}"
49
+ if [ -z "$VERSION" ]; then
50
+ VERSION="${GITHUB_REF_NAME#v}"
51
+ fi
52
+
53
+ ./gradlew -Pversion=$VERSION bootBuildImage
0 commit comments