mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: change gcp image and image family names
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
00ca87a7ec
commit
6a20d18082
13
.github/actions/os_build_variables/action.yml
vendored
13
.github/actions/os_build_variables/action.yml
vendored
@ -261,20 +261,13 @@ runs:
|
||||
echo "rawImagePath=${basePath}/mkosi.output.gcp/fedora~37/image.raw" >> $GITHUB_OUTPUT
|
||||
echo "imagePath=${basePath}/mkosi.output.gcp/fedora~37/image.tar.gz" >> $GITHUB_OUTPUT
|
||||
echo "jsonOutput=${basePath}/mkosi.output.gcp/fedora~37/image-upload.json" >> $GITHUB_OUTPUT
|
||||
if [[ "${stream}" = "stable" ]]
|
||||
then
|
||||
echo "imageName=constellation-${imageVersion//./-}" >> $GITHUB_OUTPUT
|
||||
echo "imageFilename=constellation-${imageVersion//./-}.tar.gz" >> $GITHUB_OUTPUT
|
||||
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
||||
elif [[ "${imageType}" = "debug" && ( "${ref}" = "-" || "${ref}" = "main" ) ]]
|
||||
if [[ "${stream}" = "stable" ]]
|
||||
then
|
||||
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
||||
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
||||
echo "imageFamily=constellation-debug-${semver//./-}" >> $GITHUB_OUTPUT
|
||||
echo "imageFamily=constellation" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "imageName=constellation-${ref}-${stream}-${timestamp}" >> $GITHUB_OUTPUT
|
||||
echo "imageFilename=constellation-${ref}-${stream}-${timestamp}.tar.gz" >> $GITHUB_OUTPUT
|
||||
echo "imageFamily=constellation-${ref}" >> $GITHUB_OUTPUT
|
||||
echo "imageFamily=constellation-${ref::45}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Configure QEMU input variables
|
||||
|
4
.github/workflows/build-os-image.yml
vendored
4
.github/workflows/build-os-image.yml
vendored
@ -720,13 +720,13 @@ jobs:
|
||||
"lookup-table.json" \
|
||||
"s3://cdn-constellation-backend/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json" \
|
||||
--no-progress
|
||||
(
|
||||
{
|
||||
echo -e "Image version ([Lookup table](https://cdn.confidential.cloud/${{ needs.build-settings.outputs.imageApiBasePath }}/info.json)):"
|
||||
echo
|
||||
echo -e "\`\`\`"
|
||||
echo "${{ needs.build-settings.outputs.imageNameShort }}"
|
||||
echo -e "\`\`\`"
|
||||
) >> "$GITHUB_STEP_SUMMARY"
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
add-version-to-versionsapi:
|
||||
needs: [upload-image-lookup-table, build-settings]
|
||||
|
Loading…
Reference in New Issue
Block a user