example build configuration as follows: apiVersion: build.openshift.io/v1 kind: BuildConfig metadata: annotations: app.openshift.io/vcs-ref: master app.openshift.io/vcs-uri: git@github.com:vwdl/legal_ai.git labels: app: legal-ai-worker app.kubernetes.io/component: legal-ai-worker app.kubernetes.io/instance: legal-ai-worker app.kubernetes.io/name: legal-ai-worker app.kubernetes.io/part-of: legal-ai app.openshift.io/runtime: python app.openshift.io/runtime-version: 3.8-ubi7 name: legal-ai-worker namespace: {{ .Release.Namespace }} spec: failedBuildsHistoryLimit: 5 output: to: kind: ImageStreamTag name: legal-ai-worker:latest postCommit: {} resources: limits: memory: "2Gi" cpu: "2000m" requests: memory: "2Gi" cpu: "2000m" runPolicy: Serial source: contextDir: pipeline git: ref: master uri: ssh://git@ssh.github.com:443/vwdl/legal_ai.git sourceSecret: name: {{ .Release.Namespace }}-secret-ssh-key-github type: Git secrets: - secret: name: {{ .Release.Namespace }}-secret-pip-conf destinationDir: 'docker_secrets' - secret: name: {{ .Release.Namespace }}-secret-aws-conf destinationDir: 'docker_secrets' strategy: type: Docker dockerStrategy: dockerfilePath: Dockerfile buildArgs: - name: S3_MODEL_FILES value: {{ .Values.worker.s3_model_files }} - name: S3_TEST_FILES value: {{ .Values.worker.s3_test_files }} successfulBuildsHistoryLimit: 5 triggers: - type: ImageChange - type: ConfigChange