You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/24 16:52:33 UTC

[camel-k] 02/02: fix(ci): Run OPM as root

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch release-1.6.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 68b8e02bdd1ff2a09a0b97c974e3f0da744ea453
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Nov 25 11:48:55 2021 +0100

    fix(ci): Run OPM as root
---
 .github/workflows/upgrade.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml
index f6d9dc4..9f554ce 100644
--- a/.github/workflows/upgrade.yml
+++ b/.github/workflows/upgrade.yml
@@ -154,7 +154,7 @@ jobs:
       run: |
         export LOCAL_IIB=$KIND_REGISTRY/apache/camel-k-iib:$(make get-version)
         echo "LOCAL_IIB=${LOCAL_IIB}" >> $GITHUB_ENV
-        opm index add --bundles ${{ env.LOCAL_IMAGE_BUNDLE }} -c docker --from-index quay.io/operatorhubio/catalog:latest --tag ${LOCAL_IIB} --skip-tls
+        sudo opm index add --bundles ${{ env.LOCAL_IMAGE_BUNDLE }} -c docker --from-index quay.io/operatorhubio/catalog:latest --tag ${LOCAL_IIB} --skip-tls
         docker push ${LOCAL_IIB}
     - name: Run IT
       run: |