diff --git a/.drone.yml b/.drone.yml index 5cda02d..b523faa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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