更新yaml,增加buildNumber

master
Kuiki 2020-06-20 10:42:47 +08:00
parent 2af1a14cd2
commit 9b8af17213
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ spec:
containers: containers:
- name: nginx-demo - name: nginx-demo
image: nginx:${NGINX_VERSION} image: nginx:${NGINX_VERSION}
env:
- name: JENKINS_BUILD_NUMBER
value: build-${BUILD_NUMBER}
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service