From 21f82da48527fddb14db68b4e3aa2721a91cfde7 Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Fri, 20 Dec 2024 11:10:47 +0530 Subject: [PATCH] ci: add release workflow Signed-off-by: Niladri Halder --- .github/workflows/on-tag.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/on-tag.yml diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml new file mode 100644 index 0000000..74362be --- /dev/null +++ b/.github/workflows/on-tag.yml @@ -0,0 +1,21 @@ +name: Release Helm Chart +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+**' + branches: + - 'master' + + +jobs: + release-chart: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Publish locally in the workspace + run: | + echo "ref_type=${{ github.ref_type }}" + echo "ref_name=${{ github.ref_name }}" + echo "base_ref=${{ github.event.base_ref }}" + echo "ref=${{ github.ref }}" +