From 8d2f2a5682d3673bae8dbd0bd487943f49f289bd Mon Sep 17 00:00:00 2001 From: timepresent95 <131549975+timepresent95@users.noreply.github.com> Date: Mon, 19 Aug 2024 02:08:49 +0900 Subject: [PATCH] Update sean-be-ci-cd.yml --- .github/workflows/sean-be-ci-cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sean-be-ci-cd.yml b/.github/workflows/sean-be-ci-cd.yml index bb9e52a..e1826ec 100644 --- a/.github/workflows/sean-be-ci-cd.yml +++ b/.github/workflows/sean-be-ci-cd.yml @@ -1,4 +1,4 @@ -name: Sean Back End CI CD +name: Sean Back End CI/CD on: push: @@ -21,11 +21,11 @@ jobs: - name: Log in to Amazon ECR env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_ACCESS_KEY_ID: ${{ secrets.SEAN_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.SEAN_AWS_SECRET_ACCESS_KEY }} run: | - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY + aws configure set aws_access_key_id $SEAN_AWS_ACCESS_KEY_ID + aws configure set aws_secret_access_key $SEAN_AWS_SECRET_ACCESS_KEY aws configure set default.region ap-southeast-2 aws ecr get-login-password --region ap-southeast-2 | docker login --username AWS --password-stdin 975049946739.dkr.ecr.ap-southeast-2.amazonaws.com