Skip to content

fix: default imagePullPolicy (#28) #59

fix: default imagePullPolicy (#28)

fix: default imagePullPolicy (#28) #59

Workflow file for this run

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 }}"
CR_SKIP_EXISTING: true