ci(fix): change kubeconfig auth env
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
3f52992e33
commit
5d52d56e12
1 changed files with 4 additions and 6 deletions
10
.github/workflows/frontend.yaml
vendored
10
.github/workflows/frontend.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue