Skip to content

Commit 2e4fa2a

Browse files
committed
Print enclave PCRs in stagex CI
1 parent 237feb0 commit 2e4fa2a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/stagex.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ jobs:
7272
shell: 'script -q -e -c "bash {0}"'
7373
run: make -j$(nproc) "out/${{ matrix.name }}/index.json"
7474

75+
- name: Print PCRs
76+
if: matrix.name == 'qos_enclave' || matrix.name == 'qos_enclave_egress'
77+
run: |
78+
id=$(docker create "qos-local/${{ matrix.name }}:latest")
79+
docker cp "${id}:/nitro.pcrs" out/nitro.pcrs
80+
docker rm "${id}"
81+
cat out/nitro.pcrs
82+
7583
# Publish PR images so they can be deployed for testing; main is build-only.
7684
- name: Push PR image to GHCR and ECR
7785
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)