Skip to content

Commit

Permalink
replace tags
Browse files Browse the repository at this point in the history
  • Loading branch information
barakda committed Jul 7, 2023
1 parent 7843321 commit 21ff6e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/operator-bundle-and-catalog-builder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ jobs:
run: |
echo - 1. replace operator tag in csv
pwd
IMAGEPATH="deploy/olm-catalog/ibm-block-csi-operator/1.12.0/manifests/ibm-block-csi-operator.clusterserviceversion.yaml"
IMAGESSTR1="Image\: registry.connect.redhat.com\/ibm\/ibm-block-csi-operator\:1.12.0"
IMAGESSTR2="Image\: ${{ env.REGISTRY }}\/${{ needs.prepare_env.outputs.operator_repository }}\:${{ needs.prepare_env.outputs.specific_tag }}"
IMAGEPATH=deploy/olm-catalog/ibm-block-csi-operator/1.12.0/manifests/ibm-block-csi-operator.clusterserviceversion.yaml
IMAGESSTR1=Image\: registry.connect.redhat.com\/ibm\/ibm-block-csi-operator\:1.12.0
IMAGESSTR2=Image\: ${{ env.REGISTRY }}\/${{ needs.prepare_env.outputs.operator_repository }}\:${{ needs.prepare_env.outputs.specific_tag }}
cat $IMAGEPATH | grep images:
sed -i "s|$IMAGESSTR1|$IMAGESSTR2|g" "$IMAGEPATH"
IMAGESSTR1="image\: registry.connect.redhat.com\/ibm\/ibm-block-csi-operator\:1.12.0"
IMAGESSTR1=image\: registry.connect.redhat.com\/ibm\/ibm-block-csi-operator\:1.12.0
sed -i "s|$IMAGESSTR1|$IMAGESSTR2|g" "$IMAGEPATH"
cat $IMAGEPATH | grep images:
Expand Down

0 comments on commit 21ff6e7

Please sign in to comment.