fix: correct PVC volume syntax
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -52,8 +52,8 @@ name: build-and-deploy-prod
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
persistentVolumeClaim:
|
claim:
|
||||||
claimName: maven-cache-pvc
|
name: maven-cache-pvc
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
@@ -68,7 +68,7 @@ steps:
|
|||||||
- mvn clean package -DskipTests
|
- mvn clean package -DskipTests
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
mountPath: /root/.m2
|
path: /root/.m2
|
||||||
|
|
||||||
- name: prod-build-image
|
- name: prod-build-image
|
||||||
image: ccr.ccs.tencentyun.com/violin/kaniko-project-executor:latest
|
image: ccr.ccs.tencentyun.com/violin/kaniko-project-executor:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user