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