From ab915f9a2e6a9f047f2d9f6432e323544a6b3ef9 Mon Sep 17 00:00:00 2001 From: Mariam Fahmy Date: Thu, 26 Oct 2023 15:35:50 +0300 Subject: [PATCH] feat: automate the process of releasing charts into github pages Signed-off-by: Mariam Fahmy --- .github/workflows/helm-release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/helm-release.yaml diff --git a/.github/workflows/helm-release.yaml b/.github/workflows/helm-release.yaml new file mode 100644 index 0000000..2604327 --- /dev/null +++ b/.github/workflows/helm-release.yaml @@ -0,0 +1,20 @@ +name: helm-release +on: + push: + tags: + - 'kyverno-notation-aws-chart-v*' + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - name: Install Helm + uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 + with: + version: v3.10.3 + - name: Run chart-releaser + uses: stefanprodan/helm-gh-pages@0ad2bb377311d61ac04ad9eb6f252fb68e207260 #v1.7.0 + with: + token: "${{ secrets.GITHUB_TOKEN }}"