-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Github Action to deploy Helm Chart
- Loading branch information
1 parent
211a4f5
commit e3f17e4
Showing
2 changed files
with
5 additions
and
5 deletions.
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
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 |
---|---|---|
|
@@ -29,11 +29,11 @@ jobs: | |
- name: Setup Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: ${{ vars.HELM_VERSION }} | ||
version: ${{ env.HELM_VERSION }} | ||
|
||
- name: Login with Helm | ||
run: | | ||
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ vars.HELM_REGISTRY }} --username ${{ github.repository_owner }} --password-stdin | ||
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ${{ env.HELM_REGISTRY }} --username ${{ github.repository_owner }} --password-stdin | ||
- name: Prepare version | ||
run: | | ||
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Push Helm chart to repository | ||
run: | | ||
helm package "charts/fairspace" --version ${{ env.VERSION }} | ||
helm push "fairspace-${{ env.VERSION }}.tgz" "oci://${{ vars.HELM_REGISTRY }}" | ||
helm push "fairspace-${{ env.VERSION }}.tgz" "oci://${{ env.HELM_REGISTRY }}" | ||
echo "Pushed package to repository" | ||
- name: Clean up | ||
|