mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-15 03:19:32 -04:00
Fix image build pipeline: Use braces to group complex expressions (#770)
This commit is contained in:
parent
4e6f88c355
commit
3c5fa3175a
1 changed files with 2 additions and 2 deletions
|
@ -219,7 +219,7 @@ runs:
|
||||||
echo "imageOffer=constellation" >> $GITHUB_OUTPUT
|
echo "imageOffer=constellation" >> $GITHUB_OUTPUT
|
||||||
echo "imageVersion=${imageVersion:1}" >> $GITHUB_OUTPUT
|
echo "imageVersion=${imageVersion:1}" >> $GITHUB_OUTPUT
|
||||||
galleryName=Constellation
|
galleryName=Constellation
|
||||||
elif [[ "${imageType}" = "debug" ]] && [[ [[ "${ref}" = "-" ] || [[ "${ref}" = "main" ]] ]]
|
elif [[ "${imageType}" = "debug" && ( "${ref}" = "-" || "${ref}" = "main" ) ]]
|
||||||
then
|
then
|
||||||
echo "imageDefinition=${semver}" >> $GITHUB_OUTPUT
|
echo "imageDefinition=${semver}" >> $GITHUB_OUTPUT
|
||||||
echo "imageOffer=${semver}" >> $GITHUB_OUTPUT
|
echo "imageOffer=${semver}" >> $GITHUB_OUTPUT
|
||||||
|
@ -266,7 +266,7 @@ runs:
|
||||||
echo "imageName=constellation-${imageVersion//./-}" >> $GITHUB_OUTPUT
|
echo "imageName=constellation-${imageVersion//./-}" >> $GITHUB_OUTPUT
|
||||||
echo "imageFilename=constellation-${imageVersion//./-}.tar.gz" >> $GITHUB_OUTPUT
|
echo "imageFilename=constellation-${imageVersion//./-}.tar.gz" >> $GITHUB_OUTPUT
|
||||||
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
||||||
elif [[ "${imageType}" = "debug" ]] && [[ [[ "${ref}" = "-" ]] || [[ "${ref}" = "main" ]] ]]
|
elif [[ "${imageType}" = "debug" && ( "${ref}" = "-" || "${ref}" = "main" ) ]]
|
||||||
then
|
then
|
||||||
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
||||||
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue