From f6e0e2de614fa7c0e67a7563fabb6c472309f5dc Mon Sep 17 00:00:00 2001 From: Fanny Jiang Date: Thu, 4 Jan 2024 17:17:38 -0500 Subject: [PATCH] test --- .github/workflows/publish-community-operators-base.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-community-operators-base.yml b/.github/workflows/publish-community-operators-base.yml index 059f9b3f2..f799ad37b 100644 --- a/.github/workflows/publish-community-operators-base.yml +++ b/.github/workflows/publish-community-operators-base.yml @@ -68,6 +68,10 @@ jobs: repository: Datadog/datadog-operator token: ${{secrets.GH_ROBOT_TOKEN}} path: tmp/ + run: | + if [[ "${{ !inputs.community_repo }}" ]]; then + make bundle-redhat + fi - name: update bundle if: ${{ inputs.community_repo }} @@ -78,10 +82,7 @@ jobs: - name: update redhat bundle if: ${{ !inputs.community_repo }} - working-directory: tmp/datadog-operator run: | - make bundle-redhat - cd ${{ inputs.repo }} mkdir operators/datadog-operator/$VERSION if [[ "${{ inputs.repo }}" == "redhat-marketplace-operators" ]]; then cp -R ./tmp/bundle-redhat-mp/* operators/datadog-operator/$VERSION