mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 16:30:11 -05:00
ci: tee GitHub output
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
53bc875e59
commit
f4a4a044fe
6
.github/workflows/build-os-image.yml
vendored
6
.github/workflows/build-os-image.yml
vendored
@ -108,7 +108,7 @@ jobs:
|
|||||||
echo "bootstrapper-sha256=$(sha256sum bootstrapper | head -c 64)"
|
echo "bootstrapper-sha256=$(sha256sum bootstrapper | head -c 64)"
|
||||||
echo "disk-mapper-sha256=$(sha256sum disk-mapper | head -c 64)"
|
echo "disk-mapper-sha256=$(sha256sum disk-mapper | head -c 64)"
|
||||||
echo "upgrade-agent-sha256=$(sha256sum upgrade-agent | head -c 64)"
|
echo "upgrade-agent-sha256=$(sha256sum upgrade-agent | head -c 64)"
|
||||||
} >> "$GITHUB_OUTPUT"
|
} | tee "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
build-settings:
|
build-settings:
|
||||||
name: "Determine build settings"
|
name: "Determine build settings"
|
||||||
@ -195,7 +195,7 @@ jobs:
|
|||||||
echo "imageName=ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}"
|
echo "imageName=ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}"
|
||||||
echo "imageApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/image"
|
echo "imageApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/image"
|
||||||
echo "cliApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/cli"
|
echo "cliApiBasePath=constellation/v1/ref/${REF}/stream/${STREAM}/${IMAGE_VERSION}/cli"
|
||||||
} >> "$GITHUB_OUTPUT"
|
} | tee "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
if [[ "${REF}" = "-" ]] && [[ "${STREAM}" = "stable" ]]; then
|
if [[ "${REF}" = "-" ]] && [[ "${STREAM}" = "stable" ]]; then
|
||||||
echo "imageNameShort=${IMAGE_VERSION}" >> "$GITHUB_OUTPUT"
|
echo "imageNameShort=${IMAGE_VERSION}" >> "$GITHUB_OUTPUT"
|
||||||
@ -314,7 +314,7 @@ jobs:
|
|||||||
echo "image-vmlinuz-${{ matrix.csp }}-sha256=$(sha256sum image.vmlinuz | head -c 64)"
|
echo "image-vmlinuz-${{ matrix.csp }}-sha256=$(sha256sum image.vmlinuz | head -c 64)"
|
||||||
echo "image-raw-changelog-${{ matrix.csp }}-sha256=$(sha256sum image.raw.changelog | head -c 64)"
|
echo "image-raw-changelog-${{ matrix.csp }}-sha256=$(sha256sum image.raw.changelog | head -c 64)"
|
||||||
echo "image-raw-manifest-${{ matrix.csp }}-sha256=$(sha256sum image.raw.manifest | head -c 64)"
|
echo "image-raw-manifest-${{ matrix.csp }}-sha256=$(sha256sum image.raw.manifest | head -c 64)"
|
||||||
} >> "$GITHUB_OUTPUT"
|
} | tee "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload raw OS image as artifact
|
- name: Upload raw OS image as artifact
|
||||||
if: always()
|
if: always()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user