mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
ci: use given image if set (#2655)
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
parent
ca89a31f46
commit
03c5692fdd
9
.github/actions/find_latest_image/action.yml
vendored
9
.github/actions/find_latest_image/action.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user