Skip to content

Use published actions to push and sign image #20

Use published actions to push and sign image

Use published actions to push and sign image #20

---
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 }}