Skip to content

Commit

Permalink
Update charts-workflow.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhamedAyoub authored Apr 27, 2024
1 parent ad558ac commit 360c766
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/charts-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ env:
AZURE_REGISTRY: madaurus.azurecr.io
AZURE_REGISTRY_USER: madaurus
AZURE_REGISTRY_PASSWORD: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
CHART_NAME: madaurus
CHART_VERSION: 0.1.0
jobs:
add_registery:
runs-on: ubuntu-latest
Expand All @@ -19,7 +21,17 @@ jobs:
- name: Test Helm With materials Values
run: helm lint . -f values/material.values.yaml
- name: Test Helm With staff Values
run: helm lint . -f values/staff.values.yaml
run: helm lint . -f values/staff.values.yaml
- name: Azure Login
uses: Azure/[email protected]
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build Package
run: helm package .
- name: Push the chart to ACR
run: az acr helm push ${{env.CHART_NAME}}-${{env.CHART_VERSION}}.tgz -n ${{ env.AZURE_REGISTRY_USER }}





Expand Down

0 comments on commit 360c766

Please sign in to comment.