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
|
sed -i "s|IMAGE_NAME|$DIGEST_IMAGE|g" k8s.yml
|
||||||
cat k8s.yml
|
cat k8s.yml
|
||||||
|
|
||||||
- uses: danielr1996/kubectl-action@1.0.0
|
- uses: tale/kubectl-action@v1
|
||||||
name: "Deploy to Cluster"
|
|
||||||
with:
|
with:
|
||||||
kubeconfig: ${{ vars.KUBECONFIG_PA_DEVOPS }}
|
base64-kube-config: ${{ vars.KUBECONFIG_PA_DEVOPS_ENCODED }}
|
||||||
args: apply -f k8s.yml
|
|
||||||
|
- name: "Deploy to Cluster"
|
||||||
|
run: |
|
||||||
|
kubectl apply -f k8s.yml
|
||||||
|
|
||||||
Reference in New Issue
Block a user