From 5d52d56e12975fceec046dd84a5eb9796d436dfe Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 27 Jun 2022 13:50:22 +0200 Subject: [PATCH] ci(fix): change kubeconfig auth env Signed-off-by: rjshrjndrn --- .github/workflows/frontend.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 2616a0baf..984365d53 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -36,8 +36,6 @@ jobs: method: kubeconfig kubeconfig: ${{ secrets.OSS_KUBECONFIG }} # Use content of kubeconfig in secret. id: setcontext -# - name: Install -# run: npm install - name: Building and Pushing frontend image id: build-image @@ -100,11 +98,11 @@ jobs: ### Enterprise code deployment - - uses: azure/k8s-set-context@v1 + - uses: actions-hub/kubectl@master + env: + KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: - method: kubeconfig - kubeconfig: ${{ secrets.EE_KUBECONFIG }} # Use content of kubeconfig in secret. - id: setcontext + args: get pods - name: Creating old image input env: