Description of problem: Docker-based build ignores args Version-Release number of selected component (if applicable): OpenShift Version : 4.6.15 kubernetes v1.19.0+1833054 How reproducible: build attached buildconfig Steps to Reproduce: 1. load build config 2. oc start-build main-jenkins-docker 3. oc logs buildpod Actual results: FROM docker-registry.upshift.redhat.com/ccit/jenkins-csb-prod:latest Expected results: FROM docker-registry.upshift.redhat.com/ccit/jenkins-csb-dev:latest Additional info: Server https://api.ocp4.prod.psi.redhat.com:6443 Attached BuildConfig and level 5 log
Created attachment 1772758 [details] BuildConfig it will read https://gitlab.cee.redhat.com/ccit/jenkins-csb/-/blob/new/master/Dockerfile
Created attachment 1772865 [details] Build log with level 5
Hello, this is ongoing changing project. Since BuildConfig ignores Args, we are not using it and removed this from our build process. You can setup simple BuildConfig with args in your own environment and verify if it works.
Updated the documentation with: - https://issues.redhat.com/browse/RHDEVDOCS-3033 - https://github.com/openshift/openshift-docs/pull/32982
Has verified this bug before doc pr merged.
No release note required for documentation and help updates.
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.8.2 bug fix and security 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-2021:2438