2023-07-10 11:07:44 +02:00
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: default-build
|
|
|
|
|
2023-07-10 13:31:49 +02:00
|
|
|
workspace:
|
|
|
|
path: /cache
|
|
|
|
|
2023-07-10 11:07:44 +02:00
|
|
|
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
|
2023-07-10 13:31:49 +02:00
|
|
|
- name: cache
|
|
|
|
claim:
|
|
|
|
name: federationhq-drone-cache-pvc
|
|
|
|
read_only: false
|
2023-07-10 11:07:44 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build Image
|
|
|
|
image: registry.cloud.federationhq.de/drone-buildah-plugin:latest
|
2023-07-10 11:14:57 +02:00
|
|
|
privileged: true
|
2023-07-10 11:07:44 +02:00
|
|
|
volumes:
|
|
|
|
- name: fedhq-ca-crt
|
|
|
|
path: /etc/ssl/certs2/
|
2023-07-10 13:31:49 +02:00
|
|
|
- name: cache
|
2023-07-10 13:33:01 +02:00
|
|
|
path: /var/lib/containers/storage
|
2023-07-10 11:07:44 +02:00
|
|
|
settings:
|
2023-07-10 11:13:21 +02:00
|
|
|
dockerfile: Dockerfile
|
2023-07-10 11:07:44 +02:00
|
|
|
pullfirst: true
|
|
|
|
ca_cert: "/etc/ssl/certs2/federationHQ-CA.pem"
|
|
|
|
registry: "registry.cloud.federationhq.de"
|
|
|
|
tag: latex:latest
|