Skip to content

Commit

Permalink
Update eks_pcr0 input
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Aug 14, 2024
1 parent 2961ba1 commit cece400
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/shared-run-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ on:
description: The AWS PCR0
type: string

eks_pcr0:
description: The EKS PCR0
type: string

env:
REGISTRY: ghcr.io

Expand Down Expand Up @@ -195,7 +199,7 @@ jobs:
with:
operator_image_version: ${{ inputs.operator_image_version }}
admin_root: ${{ inputs.admin_root }}
aws_pcr0: ah5U7RSARnvy1OJXDGn2kPGmHsDufLpYG5v3I0Ao0xKL1iWiMN6Zxw0izddYpbLT
eks_pcr0: ${{ inputs.eks_pcr0 }}

- name: Bring up Docker Compose
id: docker-compose
Expand Down
6 changes: 3 additions & 3 deletions actions/prepare_eks_metadata/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ inputs:
admin_root:
description: The root path for uid2-admin folder
default: uid2-admin
aws_pcr0:
description: The AWS PCR0
eks_pcr0:
description: The EKS PCR0
required: true

outputs:
Expand All @@ -26,7 +26,7 @@ runs:
shell: bash
env:
ADMIN_ROOT: ${{ inputs.admin_root }}
ENCLAVE_ID: ${{ inputs.aws_pcr0 }}
ENCLAVE_ID: ${{ inputs.eks_pcr0 }}
ENCLAVE_PROTOCOL: aws-nitro
run: |
bash uid2-shared-actions/scripts/save_enclave_id_to_admin.sh

0 comments on commit cece400

Please sign in to comment.