Skip to content

Commit db52527

Browse files
authored
fix: Versioning in image publishing workflow (#2159)
* Fix typo in version input Signed-off-by: Carson Cook <carson.cook@ibm.com> * Improve workflow name Signed-off-by: Carson Cook <carson.cook@ibm.com> * Improve workflow name Signed-off-by: Carson Cook <carson.cook@ibm.com>
1 parent 453f4fe commit db52527

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/image-publish-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
- name: Set gradle.properties version
2020
# images publish with the version in gradle.properties
2121
# if a version is provided, use that version to publish, else use value in gradle.properties
22-
if: ${{ inputs.imageVersion != '' }}
22+
if: ${{ inputs.versionOverride != '' }}
2323
shell: bash
2424
run: sed -i 's/version=.*/version=${{ inputs.imageVersion }}/g' gradle.properties
2525

.github/workflows/create-image-without-release.yml renamed to .github/workflows/image-publish-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow will create images for api-layer services
22
# This workflow is used to expose build-conformant-images.yml in a way that doesn't give users the option to release.
3-
name: Create Image Only (No Release)
3+
name: Image publish branch
44

55
on:
66
workflow_dispatch:

0 commit comments

Comments
 (0)