diff --git a/.github/workflows/build-and-push-ecr-dev.yml b/.github/workflows/build-and-push-ecr-dev.yml index 994f437..379e5c3 100644 --- a/.github/workflows/build-and-push-ecr-dev.yml +++ b/.github/workflows/build-and-push-ecr-dev.yml @@ -59,35 +59,3 @@ jobs: tags: ${{ steps.login-ecr.outputs.registry }}/tokenguard-dev-dashboard-creator-server:${{ github.sha }} - name: Image digest run: echo ${{ steps.build-push-ecr.outputs.digest }} - - deploy-eks: - name: Deploy image on EKS(tokenguard-dev) - needs: build-push - runs-on: self-hosted - - steps: - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_DEV }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }} - aws-region: ${{ env.AWS_REGION }} - - name: Login to Amazon ECR - id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 - - - name: Deploy to tokenguard-dev - uses: christallire/kubectl-aws-eks@1.1.0-arm64-fix2 - env: - KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_DEV }} - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: tokenguard-dev-dashboard-creator-server - IMAGE_TAG: ${{ github.sha }} - with: - args: -n dev set image deployment/dashboard-creator-server dashboard-creator-server=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - - name: verify deployment - uses: christallire/kubectl-aws-eks@1.1.0-arm64-fix2 - env: - KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_DEV }} - with: - args: -n dev rollout status deployment/dashboard-creator-server diff --git a/.github/workflows/build-and-push-ecr-prod.yml b/.github/workflows/build-and-push-ecr-prod.yml index cb292c2..c222c37 100644 --- a/.github/workflows/build-and-push-ecr-prod.yml +++ b/.github/workflows/build-and-push-ecr-prod.yml @@ -59,36 +59,3 @@ jobs: tags: ${{ steps.login-ecr.outputs.registry }}/tokenguard-prod-dashboard-creator-server:${{ github.sha }} - name: Image digest run: echo ${{ steps.build-push-ecr.outputs.digest }} - - deploy-eks: - name: Deploy image on EKS(tokenguard-prod) - needs: build-push - runs-on: self-hosted - - steps: - - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_PROD }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_PROD }} - aws-region: ${{ env.AWS_REGION }} - - name: Login to Amazon ECR - id: login-ecr - uses: aws-actions/amazon-ecr-login@v1 - - - name: Deploy to tokenguard-prod - uses: christallire/kubectl-aws-eks@1.1.0-arm64-fix2 - env: - KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_PROD }} - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: tokenguard-prod-dashboard-creator-server - IMAGE_TAG: ${{ github.sha }} - with: - args: -n prod set image deployment/dashboard-creator-server dashboard-creator-server=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - - - name: verify deployment - uses: christallire/kubectl-aws-eks@1.1.0-arm64-fix2 - env: - KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA_PROD }} - with: - args: -n prod rollout status deployment/dashboard-creator-server