Skip to content

Commit

Permalink
correct helm chart path
Browse files Browse the repository at this point in the history
  • Loading branch information
havardelnan committed Nov 18, 2024
1 parent d184464 commit adeec07
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,11 @@ jobs:

- name: Build helm chart
run: |
./yq e -i '.version = strenv(ROR_VERSION),.appVersion = strenv(ROR_VERSION)' charts/ror-agent/Chart.yaml
./yq e -i '.image.tag = strenv(ROR_VERSION)' charts/ror-agent/values.yaml
./yq e -i '.image.repository = "ncr.sky.nhn.no/ror/cluster-agent"' charts/ror-agent/values.yaml
./yq e -i '.version = strenv(ROR_VERSION),.appVersion = strenv(ROR_VERSION)' charts/ror-cluster-agent-v1/Chart.yaml
./yq e -i '.image.tag = strenv(ROR_VERSION)' charts/ror-cluster-agent-v1/values.yaml
./yq e -i '.image.repository = "ncr.sky.nhn.no/ror/cluster-agent"' charts/ror-cluster-agent-v1/values.yaml
helm package charts/ror-cluster-agent-v1
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login -u ${{ github.actor }} ${{ env.REGISTRY }} --password-stdin
helm push ror-cluster-agent-v1-${ROR_VERSION}.tgz oci://${{ env.REGISTRY }}/norskhelsenett/helm/
mv ror-cluster-agent-v1-${ROR_VERSION}.tgz ror-cluster-agent-${ROR_VERSION}.tgz
helm push ror-cluster-agent-${ROR_VERSION}.tgz oci://${{ env.REGISTRY }}/norskhelsenett/helm/

0 comments on commit adeec07

Please sign in to comment.