From a08c9104a9db950cf53943a429f6ebeef57b44fa Mon Sep 17 00:00:00 2001 From: Christian Adams Date: Wed, 17 May 2023 14:27:44 -0400 Subject: [PATCH] Add GHA for re-publishing helm chart when necessary & for debugging (#1417) --- .github/workflows/publish-helm.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/publish-helm.yml diff --git a/.github/workflows/publish-helm.yml b/.github/workflows/publish-helm.yml new file mode 100644 index 00000000..12c99077 --- /dev/null +++ b/.github/workflows/publish-helm.yml @@ -0,0 +1,26 @@ +--- +name: Re-publish helm chart +on: + workflow_dispatch: + inputs: + tag: + description: 'Release tag' + required: true + type: string +jobs: + promote: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + depth: 0 + + - name: Release Helm chart + run: | + ansible-playbook ansible/helm-release.yml -v \ + -e operator_image=quay.io/${{ github.repository }} \ + -e chart_owner=${{ github.repository_owner }} \ + -e tag=${{ inputs.tag }} \ + -e gh_token=${{ secrets.GITHUB_TOKEN }} \ + -e gh_user=${{ github.actor }} \ + -e repo_type=https