ceph-csi/mirror/mirror-buildconfig.yaml
Niels de Vos 2f6400fe57 ci: add mirror-images container image for automated mirroring
The ImageStream and BuildConfig use the Containerfile to build a
container image in the OpenShift registry so that automated image
mirroring can be configured.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-05-17 06:25:51 +00:00

32 lines
516 B
YAML

---
apiVersion: v1
kind: ImageStream
metadata:
name: mirror-images
labels:
app: mirror-images
spec:
tags:
- name: latest
---
apiVersion: v1
kind: BuildConfig
metadata:
name: mirror-images
labels:
app: mirror-images
spec:
runPolicy: Serial
source:
git:
uri: https://github.com/ceph/ceph-csi
ref: ci/centos
contextDir: mirror
strategy:
dockerStrategy:
dockerfilePath: Containerfile
output:
to:
kind: ImageStreamTag
name: mirror-images:latest