WIP: Create charts #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 $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 }}" |