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

View File

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