apiVersion: batch/v1beta1
kind: CronJob
metadata:
  name: image-build-cron-trigger
spec:
  schedule: "0 2 * * *"
  concurrencyPolicy: Forbid
  jobTemplate:
    spec:
      template:
        spec:
          containers:
            - name: trigger
              env:
                - name: SINK_URL
                  value: el-image-builder.default.svc.cluster.local:8080
                - name: GIT_REPOSITORY
                  value: github.com/tektoncd/plumbing
                - name: GIT_REVISION
                  value: main
                - name: TARGET_IMAGE
                  value: gcr.io/tekton-releases/dogfooding/catlin:latest
                - name: CONTEXT_PATH
                  value: catlin
