Compare commits

...

2 Commits

Author SHA1 Message Date
bamanker
b7085d2765 修改了apply url的格式,以便访问原始文件代码
All checks were successful
Build Push and Deploy Image / build (push) Successful in 1m12s
2025-12-25 17:23:58 +08:00
bamanker
d2d3e9e3f5 修改deployment.yml文件格式,防止json转换错误1
Some checks failed
Build Push and Deploy Image / build (push) Failing after 1m29s
2025-12-25 17:01:00 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ spec:
app: myk3s-test
spec:
containers:
- image: ${env.REGISTRY}/${env.IMAGE_NAME}:${steps.datetime.outputs.datetime}
- image: registry.cn-chengdu.aliyuncs.com/bamanker/myk3stest:lastest
name: myk3s-test
imagePullPolicy: Always
readinessProbe:

View File

@@ -78,7 +78,7 @@ jobs:
uses: http://139.9.216.111:3000/bamanker/steevchen-kubectl@master
with:
config: ${{ secrets.KUBE_CONFIG }}
command: apply -f http://139.9.216.111:3000/bamanker/myk3sTest/src/branch/master/.deploy/deployment.yml
command: apply -f http://139.9.216.111:3000/bamanker/myk3sTest/raw/branch/master/.deploy/deployment.yml
# - name: k8s Update Deployment
# uses: http://139.9.216.111:3000/bamanker/kubectl@master
# env: