Skip to content

Commit

Permalink
release on tag?
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Nov 9, 2023
1 parent 5032ac6 commit fe5075d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/helm-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build

on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # Ensure tags are fetched too

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.9.3

- name: Add Helm dependency repos
run: |
helm repo add docker-registry https://helm.twun.io
helm repo add minio https://charts.min.io/
helm repo add redis https://charts.bitnami.com/bitnami
- name: update and build Helm dependency repos
run: |
helm dependency update charts/hypha
helm dependency build charts/hypha
5 changes: 2 additions & 3 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Release Charts

on:
push:
branches:
- main
- dev
tags:
- '*'

jobs:
release:
Expand Down

0 comments on commit fe5075d

Please sign in to comment.