Skip to content

Commit

Permalink
Add scos tag to machine-config-operator images when building on OKD for
Browse files Browse the repository at this point in the history
scos

Avoid the below error when building a release image for OKD:

```
operator "machine-config-operator" contained an invalid image-references file: no input image tag named "rhel-coreos"
```
  • Loading branch information
Prashanth684 committed Apr 27, 2024
1 parent fd626a6 commit d496d3d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ build_root:
namespace: ocp
tag: rhel-8-golang-1.21-openshift-4.16
images:
- dockerfile_path: Dockerfile.rhel7
- build_args:
- name: TAGS
value: scos
dockerfile_path: Dockerfile.rhel7
from: origin_scos-4.16_base-stream9
inputs:
ocp_builder_rhel-8-golang-1.21-openshift-4.16:
Expand Down

0 comments on commit d496d3d

Please sign in to comment.