Skip to content

WIP: Create charts

WIP: Create charts #17

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- main
env:
HELM_EXPERIMENTAL_OCI: 1
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.4.0
- name: Install python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (lint)
run: ct lint --config .github/chart-testing-config.yaml --helm-repo-extra-args' 'oci-registry=--username GdataGithubBot --password ${{ secrets.GHCR_PASSWORD }}' --validate-maintainers=false --charts charts/vaas
- name: Run chart-releaser
if: github.ref == 'refs/heads/main'
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.BOT_SECRET }}"