ADD: build into a cache volume
This commit is contained in:
parent
8c28ee2e93
commit
089ccc642c
@ -2,12 +2,19 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: default-build
|
||||
|
||||
workspace:
|
||||
path: /cache
|
||||
|
||||
volumes:
|
||||
- name: fedhq-ca-crt
|
||||
config_map:
|
||||
name: fedhq-ca-crt
|
||||
default_mode: 420 # same as 644 in octal, or u+w,a+r
|
||||
optional: false
|
||||
- name: cache
|
||||
claim:
|
||||
name: federationhq-drone-cache-pvc
|
||||
read_only: false
|
||||
|
||||
steps:
|
||||
- name: Build Image
|
||||
@ -16,6 +23,8 @@ steps:
|
||||
volumes:
|
||||
- name: fedhq-ca-crt
|
||||
path: /etc/ssl/certs2/
|
||||
- name: cache
|
||||
path: /cache
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
pullfirst: true
|
||||
|
Loading…
Reference in New Issue
Block a user