update actions yaml
Some checks failed
dotnet-cicd-k8s / Pack-And-Publish (push) Failing after 26s

This commit is contained in:
Mingor(100757) 2024-08-28 10:35:59 +08:00
parent 7063ba096f
commit 6172dc614b

View File

@ -1,4 +1,4 @@
name: dotnet-publish-nuget
name: dotnet-cicd-k8s
on: [push]
env:
@ -39,4 +39,14 @@ jobs:
context: .
platforms: linux/amd64
push: true
tags: registry.cn-guangzhou.aliyuncs.com/acme_nrop/dotnet-deploy-k8s:latest
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
with:
config: ${{ secrets.KUBE_CONFIG_DATA }}
command: set image --record deployment/dotnet-cicd-k8s-sample container=dotnet-deploy-k8s:${{gitea.sha}}
- name: verify deployment
uses: steebchen/kubectl@v2.0.0
with:
config: ${{ secrets.KUBE_CONFIG_DATA }}
command: rollout status deployment/dotnet-cicd-k8s-sample