diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..51270dd --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,30 @@ +name: Release Charts + +on: + push: + branches: + - main + +jobs: + release: + permissions: + contents: write # to push chart release and create a release (helm/chart-releaser-action) + packages: write # needed for ghcr access + id-token: write # needed for keyless signing + + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Set up Helm + uses: azure/setup-helm@v3.5 + with: + version: v3.9.2 + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.5.0 + env: + CR_TOKEN: "${{ secrets.HELM_RELEASE_TOKEN }}" \ No newline at end of file diff --git a/charts/artifacthub-repo.yml b/charts/artifacthub-repo.yml deleted file mode 100644 index a77db6d..0000000 --- a/charts/artifacthub-repo.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Artifact Hub repository metadata file -# -# Some settings like the verified publisher flag or the ignored packages won't -# be applied until the next time the repository is processed. Please keep in -# mind that the repository won't be processed if it has not changed since the -# last time it was processed. Depending on the repository kind, this is checked -# in a different way. For Helm http based repositories, we consider it has -# changed if the `index.yaml` file changes. For git based repositories, it does -# when the hash of the last commit in the branch you set up changes. This does -# NOT apply to ownership claim operations, which are processed immediately. -# -repositoryID: 0af33efa-fae2-44d9-8385-f7c86c68f93c -owners: # (optional, used to claim repository ownership) - - name: Vedant Pareek - email: vedant@truefoundry.com \ No newline at end of file diff --git a/charts/index.yaml b/charts/index.yaml deleted file mode 100644 index 770e046..0000000 --- a/charts/index.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -entries: - nginx: - - apiVersion: v2 - appVersion: 1.16.0 - created: "2023-04-12T16:30:12.943057+05:30" - description: A Helm chart for Kubernetes - digest: 338e1f98a48bba74b76283e40d58ae1c40861cb2653bfc335eee3c791aaf2b19 - name: nginx - type: application - urls: - - https://opsved.github.io/artifacts/charts/nginx-0.1.0.tgz - version: 0.1.0 -generated: "2023-04-12T16:30:12.942529+05:30" diff --git a/charts/nginx-0.1.0.tgz b/charts/nginx-0.1.0.tgz deleted file mode 100644 index 584365b..0000000 Binary files a/charts/nginx-0.1.0.tgz and /dev/null differ