This commit is contained in:
parent
6172dc614b
commit
a5c792e0f4
@ -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}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user