-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added option to set charts path in gcp-helm-charts (#45)
- Loading branch information
1 parent
dcf0317
commit e37e254
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|