Use published actions to push and sign image #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build and sign image | |
on: | |
push: | |
tags: | |
- v* | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
jobs: | |
build_and_sign_image: | |
name: Build and sign image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Build EIF | |
id: build-eif | |
uses: richardfan1126/nitro-enclaves-eif-build-action@dev | |
with: | |
docker-build-context-path: enclave | |
enable-ghcr-push: true | |
enable-artifact-sign: true | |
eif-file-name: enclave.eif | |
eif-info-file-name: enclave-info.json | |
artifact-tag: ${{ github.sha }} |