Skip to content

Commit

Permalink
Merge pull request #78 from flowforge/publish-helm
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJvandeWeg committed Dec 10, 2022
2 parents 240b32b + 40bf43c commit 57600ba
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,31 @@ jobs:
repository: flowforge/file-server
username: flowforge
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
readme-filepath: ./helm/file-server/README.md
readme-filepath: ./helm/file-server/README.md

publish_helm:
runs-on: ubuntu-latest
steps:
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.2
- name: Install Deps
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Checkout
uses: actions/checkout@v3
with:
repository: 'flowforge/helm'
path: 'helm'
- name: Package
run: |
helm package -d . helm/helm/flowforge
cd helm
git checkout gh-pages
mv ../flowforge-*.tgz .
helm repo index --url https://flowforge.github.io/helm .
git add .
git commit -c user.name='FlowForge Build Bot' -c user.email='noreply@flowforge.com' -m "Add ${{ github.ref_name }} helm chart"
git push origin gh-pages

0 comments on commit 57600ba

Please sign in to comment.