Update .gitea/workflows/build.yml
This commit is contained in:
@@ -89,9 +89,11 @@ jobs:
|
||||
sed -i "s|IMAGE_NAME|$DIGEST_IMAGE|g" k8s.yml
|
||||
cat k8s.yml
|
||||
|
||||
- uses: danielr1996/kubectl-action@1.0.0
|
||||
name: "Deploy to Cluster"
|
||||
- uses: tale/kubectl-action@v1
|
||||
with:
|
||||
kubeconfig: ${{ vars.KUBECONFIG_PA_DEVOPS }}
|
||||
args: apply -f k8s.yml
|
||||
base64-kube-config: ${{ vars.KUBECONFIG_PA_DEVOPS_ENCODED }}
|
||||
|
||||
- name: "Deploy to Cluster"
|
||||
run: |
|
||||
kubectl apply -f k8s.yml
|
||||
|
||||
Reference in New Issue
Block a user