Skip to content

Commit

Permalink
WIP - yet another auth method
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Zerpet committed Aug 28, 2024
1 parent d54e0b2 commit d830af3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/testing_and_publishing_OLM_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ jobs:
runs-on: ubuntu-latest
needs: test-olm-package
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
permissions:
contents: 'write'
steps:
- name: Checkout community-operators fork (OperatorHub)
uses: actions/checkout@v4
Expand Down Expand Up @@ -224,16 +222,14 @@ jobs:
sed -i -e "s/latest/$BUNDLE_VERSION/g" ./operators/rabbitmq-cluster-operator/$BUNDLE_VERSION/manifests/rabbitmq.clusterserviceversion.yaml
git add operators/rabbitmq-cluster-operator
git commit -s -m "RabbitMQ Operator release $BUNDLE_VERSION"
git push --set-upstream origin rabbitmq-cluster-operator-$BUNDLE_VERSION
git push https://token:${{ secrets.RABBITMQ_CI_TOKEN }}@github.com/rabbitmq/community-operators.git
popd
publish-bundle-redhat-marketplace:
name: Publish on OperatorHub and Openshift marketplace
runs-on: ubuntu-latest
needs: test-olm-package
# if: ${{ startsWith(github.ref, 'refs/tags/v') }}
permissions:
contents: 'write'
steps:
- name: Checkout community-operators-prod fork (Openshift Ecosystem)
uses: actions/checkout@v4
Expand Down Expand Up @@ -266,4 +262,4 @@ jobs:
sed -i -e "s/latest/$BUNDLE_VERSION/g" ./operators/rabbitmq-cluster-operator/"$BUNDLE_VERSION"/manifests/rabbitmq.clusterserviceversion.yaml
git add operators/rabbitmq-cluster-operator
git commit -s -m "RabbitMQ Operator release $BUNDLE_VERSION"
git push --set-upstream origin rabbitmq-cluster-operator-$BUNDLE_VERSION
git push https://token:${{ secrets.RABBITMQ_CI_TOKEN }}@github.com/rabbitmq/community-operators-prod.git

0 comments on commit d830af3

Please sign in to comment.