Skip to content

Commit 9e9bb98

Browse files
Merge pull request #171 from lmiccini/fix-opm-registries-conf
Fix opm render failure due to v1-format registries.conf
2 parents 98b4af3 + 1a458e3 commit 9e9bb98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/reusable-build-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,10 @@ jobs:
298298
INDEX_IMAGE_TAG: ${{ env.latesttag }}
299299
INDEX_IMAGE: ${{ inputs.operator_name }}-operator-index
300300
CSV_VERSION: v${{ steps.get_csv_version.outputs.version }}
301+
# opm uses containers/image which now rejects v1-format registries.conf
302+
# shipped on ubuntu-latest runners. Safe to bypass since opm render
303+
# pulls by fully-qualified reference and needs no registry aliases.
304+
CONTAINERS_REGISTRIES_CONF: /dev/null
301305

302306
- name: Push ${{ inputs.operator_name }}-operator-index To ${{ env.imageregistry }}
303307
uses: redhat-actions/push-to-registry@v2

0 commit comments

Comments
 (0)