File tree Expand file tree Collapse file tree
modules/extend_dynamic-plugins-reference Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ rhdhRepo="https://github.com/redhat-developer/rhdh"
2727overlaysRepo=" https://github.com/redhat-developer/rhdh-plugin-export-overlays"
2828
2929INDEX_TAG=" ${BRANCH# release-} "
30+ if [[ $INDEX_TAG == " main" ]]; then
31+ INDEX_TAG=" next"
32+ fi
3033CATALOG_INDEX_REGISTRY=" ${CATALOG_INDEX_REGISTRY:- quay.io/ rhdh} "
3134
3235catalogindextmpdir=" /tmp/plugin-catalog-index_${BRANCH} "
@@ -110,8 +113,7 @@ if [[ ! -d "$overlaystmpdir" ]]; then
110113fi
111114
112115fetch_catalog_index () {
113- local index_tag=" ${BRANCH# release-} "
114- local image=" ${CATALOG_INDEX_REGISTRY} /plugin-catalog-index:${index_tag} "
116+ local image=" ${CATALOG_INDEX_REGISTRY} /plugin-catalog-index:${INDEX_TAG} "
115117 if ! command -v skopeo > /dev/null 2>&1 ; then
116118 echo -e " ${red} [ERROR] skopeo is required but not found.${norm} "
117119 exit 1
You can’t perform that action at this time.
0 commit comments