You see the following error when starting a Build with the example BuildConfig YAML: Error "Error resolving ImageStreamTag ruby:2.4 in namespace openshift: unable to find latest tagged image" for field "from". We need to update the ImageStreamTag we use.
Now BuildConfig YAML is apiVersion: build.openshift.io/v1 kind: BuildConfig metadata: name: example namespace: default spec: source: git: ref: master uri: 'https://github.com/openshift/ruby-ex.git' type: Git strategy: type: Source sourceStrategy: from: kind: ImageStreamTag name: 'ruby:2.7' namespace: openshift env: [] triggers: - type: ImageChange imageChange: {} - type: ConfigChange build can be created successfully Verified on 4.7.0-0.nightly-2021-01-10-070949
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633