diff --git a/.github/workflows/chart-releaser.yaml b/.github/workflows/chart-releaser.yaml new file mode 100644 index 0000000..9471115 --- /dev/null +++ b/.github/workflows/chart-releaser.yaml @@ -0,0 +1,32 @@ +name: Release Charts + +on: + push: + branches: + - master + +jobs: + release-charts: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Install Helm + uses: azure/setup-helm@v3 + with: + version: v3.10.2 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.4.1 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/cinny/.helmignore b/charts/cinny/.helmignore similarity index 100% rename from cinny/.helmignore rename to charts/cinny/.helmignore diff --git a/cinny/Chart.yaml b/charts/cinny/Chart.yaml similarity index 100% rename from cinny/Chart.yaml rename to charts/cinny/Chart.yaml diff --git a/cinny/templates/NOTES.txt b/charts/cinny/templates/NOTES.txt similarity index 100% rename from cinny/templates/NOTES.txt rename to charts/cinny/templates/NOTES.txt diff --git a/cinny/templates/_helpers.tpl b/charts/cinny/templates/_helpers.tpl similarity index 100% rename from cinny/templates/_helpers.tpl rename to charts/cinny/templates/_helpers.tpl diff --git a/cinny/templates/configmap.yaml b/charts/cinny/templates/configmap.yaml similarity index 100% rename from cinny/templates/configmap.yaml rename to charts/cinny/templates/configmap.yaml diff --git a/cinny/templates/deployment.yaml b/charts/cinny/templates/deployment.yaml similarity index 100% rename from cinny/templates/deployment.yaml rename to charts/cinny/templates/deployment.yaml diff --git a/cinny/templates/ingress.yaml b/charts/cinny/templates/ingress.yaml similarity index 100% rename from cinny/templates/ingress.yaml rename to charts/cinny/templates/ingress.yaml diff --git a/cinny/templates/service.yaml b/charts/cinny/templates/service.yaml similarity index 100% rename from cinny/templates/service.yaml rename to charts/cinny/templates/service.yaml diff --git a/cinny/templates/serviceaccount.yaml b/charts/cinny/templates/serviceaccount.yaml similarity index 100% rename from cinny/templates/serviceaccount.yaml rename to charts/cinny/templates/serviceaccount.yaml diff --git a/cinny/templates/tests/test-connection.yaml b/charts/cinny/templates/tests/test-connection.yaml similarity index 100% rename from cinny/templates/tests/test-connection.yaml rename to charts/cinny/templates/tests/test-connection.yaml diff --git a/cinny/values.yaml b/charts/cinny/values.yaml similarity index 100% rename from cinny/values.yaml rename to charts/cinny/values.yaml