-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad558ac
commit 360c766
Showing
1 changed file
with
13 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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
||
|
||
|
||
|
||
|
||
|