ADD: build into a cache volume

This commit is contained in:
Dominik Meyer 2023-07-10 13:31:49 +02:00
parent 8c28ee2e93
commit 089ccc642c
No known key found for this signature in database
GPG Key ID: B4C312B600606B64
1 changed files with 9 additions and 0 deletions

View File

@ -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