Skip to content

Commit 0026b06

Browse files
author
Sam Morris
committed
fix secrets
1 parent a1a1286 commit 0026b06

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/deploy-to-eks.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Deployment workflow
22

33
on:
44
workflow_call:
5+
secrets:
6+
AWS_ACCESS_KEY_ID:
7+
required: true
8+
AWS_SECRET_ACCESS_KEY:
9+
required: true
10+
AWS_REGION:
11+
required: true
512
inputs:
613
IMAGE_TAG:
714
required: true

.github/workflows/main-branch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ jobs:
2020
uses: ./.github/workflows/deploy-to-eks.yml
2121
with:
2222
IMAGE_TAG: $GITHUB_SHA
23+
secrets:
24+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
25+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
26+
AWS_REGION: ${{ secrets.AWS_REGION }}
2327

0 commit comments

Comments
 (0)