From a5c792e0f497c5e763d8ceaaf35c61542500f475 Mon Sep 17 00:00:00 2001 From: "Mingor(100757)" Date: Wed, 28 Aug 2024 10:42:24 +0800 Subject: [PATCH] update actions yaml --- .gitea/workflows/deploy-k8s.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-k8s.yaml b/.gitea/workflows/deploy-k8s.yaml index a85d5bb..a7b49b1 100644 --- a/.gitea/workflows/deploy-k8s.yaml +++ b/.gitea/workflows/deploy-k8s.yaml @@ -4,7 +4,7 @@ on: [push] env: DOTNET_VERSION: 8.x jobs: - Pack-And-Publish: + CI-CD-K8S: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -41,7 +41,7 @@ jobs: push: true tags: registry.cn-guangzhou.aliyuncs.com/acme_nrop/dotnet-deploy-k8s:${{gitea.sha}} - name: deploy to cluster - uses: steebchen/kubectl@v2.0.0.0.0 + uses: steebchen/kubectl@v2.0.0 with: config: ${{ secrets.KUBE_CONFIG_DATA }} command: set image --record deployment/dotnet-cicd-k8s-sample container=dotnet-deploy-k8s:${{gitea.sha}}