Skip to content

Commit

Permalink
Add scos tag to machine-config-operator images when building on OKD f…
Browse files Browse the repository at this point in the history
…or (#51422)

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 29, 2024
1 parent 57f248f commit 6fb3def
Showing 1 changed file with 4 additions and 1 deletion.
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 6fb3def

Please sign in to comment.