Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
taein authored and taein committed Oct 29, 2023
1 parent 2c17465 commit feea983
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/dp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Kubernetes

on:
push:
branches:
branches:
- main
- kustomize

Expand All @@ -14,8 +14,6 @@ env:
ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_AUTH_TOKEN }}
KUSTOMIZE_REPO: "Project-Catcher/catcher-service-kusto"
DEPLOY_ENV: ${{ github.ref == 'refs/heads/main' && 'PROD' || 'DEV' }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

permissions:
id-token: write
Expand All @@ -28,14 +26,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Configure AWS credentials
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}
role-session-name: GitHubActions
role-to-assume: ${{ env.OIDC_ROLE_ARN }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

# kustomize 명령을 가져온다.
Expand Down

0 comments on commit feea983

Please sign in to comment.