Skip to content

Commit

Permalink
added option to set charts path in gcp-helm-charts (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbleicher authored Jun 20, 2024
1 parent dcf0317 commit e37e254
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gcp-helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Build helm charts and push to gcp
on:
workflow_call:
inputs:
chartsPath:
description: "path chart files (including glob pattern)"
required: false
default: "./charts/*"
type: string
gcpDestination:
description: "gcp directory where the packaged chart will be uploaded"
required: true
Expand All @@ -25,7 +30,7 @@ jobs:
uses: Azure/[email protected]

- name: Package Helm Chart
run: helm package ./charts/* --destination ./charts
run: helm package ${{ inputs.chartsPath }} --destination ./charts

- name: Authenticate to Google Cloud
uses: google-github-actions/[email protected]
Expand Down

0 comments on commit e37e254

Please sign in to comment.