-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(operator): adds automatic triggers to release the operator
- Loading branch information
1 parent
8b638ac
commit 4e49718
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Publish release on operator hub" | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
operator-hub-prod-release: | ||
if: startsWith(github.event.release.tag_name, 'operator/') | ||
uses: ./.github/workflows/reusable-operator-hub-release.yaml | ||
with: | ||
org: redhat-openshift-ecosystem | ||
repo: community-operators-prod | ||
secrets: | ||
GRAFANABOT_GITHUB_TOKEN: ${{ secrets.GRAFANABOT_GITHUB_TOKEN }} | ||
|
||
operator-hub-community-release: | ||
if: startsWith(github.event.release.tag_name, 'operator/') | ||
uses: ./.github/workflows/reusable-operator-hub-release.yaml | ||
with: | ||
org: k8s-operatorhub | ||
repo: community-operators | ||
secrets: | ||
GRAFANABOT_GITHUB_TOKEN: ${{ secrets.GRAFANABOT_GITHUB_TOKEN }} |