mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 08:20:15 -05:00
compute measurements for single image
This commit is contained in:
parent
1feaccdc55
commit
206850609b
@ -16,8 +16,12 @@ jobs:
|
||||
uses: ./.github/actions/setup_bazel_nix
|
||||
with:
|
||||
useCache: "false"
|
||||
# TODO: get correct path to bazel build artifacts, generate measurements and fetch released measurements, then compare.
|
||||
- name: Build images and produce measurements
|
||||
# TODO: get correct path to bazel build artifacts, generate measurements and fetch released measurements, then compare.
|
||||
run: |
|
||||
bazel build //image/system:stable
|
||||
bazel build //image/measured-boot/cmd
|
||||
buildPath="$PWD/bazel-bin/image"
|
||||
cd $(mktemp -d)
|
||||
sudo "$buildPath/measured-boot/cmd/cmd_/cmd" "$buildPath/ssystem/qemu_qemu-vtpm_stable/constellation" ./measurements.json
|
||||
cat ./measurements.json | jq
|
||||
|
Loading…
x
Reference in New Issue
Block a user