mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-21 21:44:39 -04:00
ci: correctly fetch image on nightly image ref (#3276)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
2e9dda52b7
commit
9d58f8a494
1 changed files with 4 additions and 4 deletions
8
.github/actions/select_image/action.yml
vendored
8
.github/actions/select_image/action.yml
vendored
|
@ -3,15 +3,15 @@ description: Resolve string presets and shortpaths to shortpaths only
|
|||
|
||||
inputs:
|
||||
osImage:
|
||||
description: "Shortpath or main-debug or release-stable"
|
||||
description: "Shortpath, main-debug, main-nightly, or release-stable"
|
||||
required: true
|
||||
|
||||
outputs:
|
||||
osImage:
|
||||
description: "Shortpath of for input string, original input if that was already a shortpath"
|
||||
description: "Shortpath of input string, original input if that was already a shortpath"
|
||||
value: ${{ steps.set-output.outputs.osImage }}
|
||||
isDebugImage:
|
||||
description: "Input represents a debug image or not"
|
||||
description: "Input is a debug image or not"
|
||||
value: ${{ steps.set-output.outputs.isDebugImage }}
|
||||
|
||||
runs:
|
||||
|
@ -27,7 +27,7 @@ runs:
|
|||
id: input-is-preset
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ inputs.osImage }}" == "ref/main/stream/debug/?" || "${{ inputs.osImage }}" == "ref/release/stream/stable/?" ]]; then
|
||||
if [[ "${{ inputs.osImage }}" == "ref/main/stream/debug/?" || "${{ inputs.osImage }}" == "ref/main/stream/nightly/?" || "${{ inputs.osImage }}" == "ref/release/stream/stable/?" ]]; then
|
||||
echo "result=true" | tee -a "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "result=false" | tee -a "$GITHUB_OUTPUT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue