diff --git a/.github/workflows/release-helm-chart.yaml b/.github/workflows/release-helm-chart.yaml index e6d627ea..9d59143f 100644 --- a/.github/workflows/release-helm-chart.yaml +++ b/.github/workflows/release-helm-chart.yaml @@ -1,4 +1,7 @@ -name: release-helm-chart +# Description: This workflow is used to release the Helm chart to the GitHub repository. The chart manifests should be already +# built with the target `helm-build` and the manifests changes already committed to the tag to be released. + +name: Release Helm Chart on: # TODO: The following commented lines should be used depending on the release strategy # release: @@ -14,14 +17,6 @@ on: description: Operator bundle version default: 0.0.0 type: string - limitadorVersion: - description: Limitador version - default: latest - type: string - releaseId: - description: Release ID - default: 0 - type: string jobs: chart_release: @@ -41,12 +36,6 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Build the Helm Chart manifests - run: | - make helm-build \ - VERSION=${{ inputs.operatorVersion }} \ - LIMITADOR_VERSION=${{ inputs.limitadorVersion }} - - name: Package Helm Chart run: | make helm-package @@ -56,7 +45,7 @@ jobs: id: upload-chart with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: charts/limitador-operator-${{ inputs.operatorVersion }}.tgz + file: limitador-operator-${{ inputs.operatorVersion }}.tgz asset_name: chart-limitador-operator-${{ inputs.operatorVersion }}.tgz tag: ${{ github.ref }} overwrite: true