Skip to content

Commit 563eaab

Browse files
committed
[CICD] CLI 사용을 위한 자격증명 관련 변수 추가
1 parent 6fb3c40 commit 563eaab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ jobs:
6969
run: |
7070
docker build -t ${{ env.DOCKER_IMAGE_NAME }} .
7171
72+
# AWS 인증 (IAM 사용자 Access Key, Secret Key 활용)
73+
- name: Configure AWS credentials
74+
uses: aws-actions/configure-aws-credentials@v1
75+
with:
76+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
77+
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
78+
aws-region: ${{ env.AWS_REGION }}
79+
7280
# AWS ECR에 로그인
7381
- name: Log in to Amazon ECR
7482
uses: aws-actions/amazon-ecr-login@v1

0 commit comments

Comments
 (0)