diff --git a/.github/actions/find_latest_image/action.yml b/.github/actions/find_latest_image/action.yml index 7b8fba259f..174b1807e9 100644 --- a/.github/actions/find_latest_image/action.yml +++ b/.github/actions/find_latest_image/action.yml @@ -16,7 +16,7 @@ inputs: outputs: image: description: "Image reference to be used in the cluster." - value: ${{ steps.find-latest-image.outputs.output }}${{ steps.check-input.outputs.image }} + value: ${{ steps.find-latest-image.outputs.output }}${{ steps.use-given-image.outputs.output }} isDebugImage: description: "Whether the image is a debug image." value: ${{ steps.isDebugImage.outputs.isDebugImage }} @@ -52,6 +52,13 @@ runs: ref: ${{ inputs.ref }} stream: ${{ inputs.stream }} + - name: Use given image + id: use-given-image + if: inputs.imageVersion != '' + shell: bash + run: | + echo "output=${{ inputs.imageVersion }}" | tee -a "$GITHUB_OUTPUT" + - name: Is debug image? id: isDebugImage shell: bash