Skip to content

Commit

Permalink
Test GitHub Attest
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfan1126 committed May 6, 2024
1 parent c4c5b18 commit f428790
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-sign-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
contents: write
packages: write
id-token: write
attestations: write

jobs:
build_and_sign_image:
Expand All @@ -21,14 +22,16 @@ jobs:

- name: Build EIF
id: build-eif
uses: richardfan1126/nitro-enclaves-eif-build-action@dev
uses: richardfan1126/nitro-enclaves-eif-build-action@beta-github-attest
with:
docker-build-context-path: enclave
enable-ghcr-push: true
enable-artifact-sign: true
enable-github-attest: true
eif-file-name: enclave.eif
eif-info-file-name: enclave-info.json
artifact-tag: ${{ github.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Print outputs
env:
Expand Down

0 comments on commit f428790

Please sign in to comment.