chore: use renderPullSecrets instead of deprecated common.images.pullSecrets #50
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: Charts CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.10.0 | |
- name: Add charts' dependency repositories | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Helm Build Dependencies | |
working-directory: ./charts | |
run: | | |
helm dependency build helmet | |
- name: Helm lint | |
working-directory: ./charts | |
run: | | |
helm lint helmet | |
release: | |
name: Release | |
needs: check | |
if: ${{ github.event_name != 'pull_request' }} | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.10.0 | |
- name: Add charts' dependency repositories | |
run: | | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |