[stable/field-exporter]: field-exporter (#539) #397
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: Push Chart | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'stable/**' | |
jobs: | |
push: | |
name: Push to Chartmuseum | |
runs-on: ubuntu-latest | |
container: | |
image: alpine/helm:3.9.3 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Install git | |
run: apk add --no-cache git | |
- name: Install Helm Push plugin | |
run: helm plugin install https://github.com/chartmuseum/helm-push --version=0.10.3 | |
- name: Adding DH repository | |
run: helm repo add deliveryhero https://charts.deliveryhero.io/ | |
- name: Push charts to DH repository | |
env: | |
HELM_REPO_USERNAME: ${{ secrets.CHARTMUSEUM_USER }} | |
HELM_REPO_PASSWORD: ${{ secrets.CHARTMUSEUM_PASS }} | |
run: for chart in stable/*; do helm dependencies update $chart && helm cm-push $chart deliveryhero; done |