From e94af0a94f5fba928e3fe4378fadf122f87a408c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B0=AC=EA=B8=B0?= Date: Mon, 18 Mar 2024 03:14:23 +0900 Subject: [PATCH] fix: helm package name --- .github/workflows/eks-deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/eks-deployment.yml b/.github/workflows/eks-deployment.yml index 20b77ce..ea333f8 100644 --- a/.github/workflows/eks-deployment.yml +++ b/.github/workflows/eks-deployment.yml @@ -5,7 +5,7 @@ on: - deploy/k8s jobs: - build: + deploy-k8s: runs-on: ubuntu-latest steps: - name: Checkout source code @@ -48,7 +48,7 @@ jobs: - name: KubeConfig run: | - aws eks update-kubeconfig --name test-cluster --region ${{ secrets.AWS_REGION }} --kubeconfig ./kubeconfig + aws eks update-kubeconfig --name test-cluster --region ${{ env.AWS_REGION }} --kubeconfig ./kubeconfig echo 'KUBE_CONFIG_DATA<> $GITHUB_ENV echo $(cat ./kubeconfig | base64) >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV @@ -64,7 +64,7 @@ jobs: helm version kubectl version kubectl cluster-info - helm upgrade test-cluster --install --wait --set image.tag=${{ github.sha }} --set image.repository="$ECR_REGISTRY/ECR_REPOSITORY" --set service.port="8000" .devops/k8s/acon-k8s -n default + helm upgrade acon-k8s --install --wait --set image.tag=${{ github.sha }} --set image.repository="$ECR_REGISTRY/ECR_REPOSITORY" --set service.port="8000" .devops/k8s/acon-k8s -n default - name: Success run: echo deployed successfully.