-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add action to prepare for EKS metadata
- Loading branch information
1 parent
2ae5821
commit c7c9b5e
Showing
5 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Prepare AWS Metadata | ||
description: Prepares the AWS Nitro enclave metadata | ||
|
||
inputs: | ||
operator_image_version: | ||
description: The uid2-operator image version | ||
default: latest | ||
admin_root: | ||
description: The root path for uid2-admin folder | ||
default: uid2-admin | ||
aws_pcr0: | ||
description: The AWS PCR0 | ||
required: true | ||
|
||
outputs: | ||
operator_key: | ||
description: The operator key | ||
value: ${{ steps.enclave_metadata.outputs.OPERATOR_KEY }} | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Prepare EKS enclave metadata | ||
id: enclave_metadata | ||
shell: bash | ||
env: | ||
ADMIN_ROOT: ${{ inputs.admin_root }} | ||
ENCLAVE_ID: ${{ inputs.aws_pcr0 }} | ||
ENCLAVE_PROTOCOL: aws-nitro | ||
run: | | ||
bash uid2-shared-actions/scripts/save_enclave_id_to_admin.sh |
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
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
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