constellation/.github/actions/azure_snp_reporter/action.yaml

13 lines
452 B
YAML
Raw Normal View History

name: Azure SNP Reporter
description: "Get SNP MAA statement from Azure."
inputs:
outputPath:
description: "Path to put signed JWT into."
required: true
runs:
using: "composite" # some azure SNP-enabled machine.
steps:
- name: Fetch report
shell: bash
run: docker run --rm --privileged -v/sys/kernel/security:/sys/kernel/security ghcr.io/edgelesssys/constellation/azure-snp-reporter | tail -n 1 > ${{ inputs.outputPath }}