apiVersion: v1
kind: BuildConfig
metadata:
  labels:
    build: caiapi-build
  name: caiapi-build
spec:
  runPolicy: Serial
  source:
    git:
      uri: https://github.com/fedora-infra/noggin.git
      ref: {{ env }}
    contextDir: CAIAPI
  strategy:
    sourceStrategy:
      from:
        kind: DockerImage
        name: registry.access.redhat.com/rhscl/python-36-rhel7:latest
  output:
    to:
      kind: ImageStreamTag
      name: caiapi:latest
