Skip to content

Commit

Permalink
Update .push-helm-chart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk committed Dec 19, 2023
1 parent 8b07f60 commit 4b7e3ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/.push-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,20 @@ jobs:
- name: Package Helm Chart
working-directory: ${{ inputs.directory }}
run: helm package --app-version="${{ env.package_tag }}" --version=${{ inputs.tag }} .
helm upgrade \
--set global.autoscaling=${{ inputs.autoscaling }} \
--set-string global.repository=${{ github.repository }} \
--set-string global.secrets.databasePassword=${{ secrets.DB_PASSWORD }} \
--set-string backend.containers[0].tag="${{ env.package_tag }}" \
--set-string backend.initContainers[0].tag="${{ env.package_tag }}" \
--set-string frontend.containers[0].tag="${{ env.package_tag }}" \
${{ inputs.params }} \
--install --wait --atomic ${{ env.repo_release }} \
--timeout ${{ inputs.timeout-minutes }}m \
--values ${{ inputs.values }} \
./${{ github.event.repository.name }}-${{ inputs.tag }}.tgz
- name: Login to GitHub Container Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push Helm Chart
run: helm push nr-compliance-enforcement-cm.tgz oci://ghcr.io/${{ github.repository_owner }}/nr-compliance-enforcement-cm

0 comments on commit 4b7e3ee

Please sign in to comment.