fixed correct yq
This commit is contained in:
parent
5a4b3d7612
commit
0f4336caf9
@ -17,10 +17,17 @@ jobs:
|
||||
with:
|
||||
version: v3.14.4
|
||||
|
||||
- name: Install prereq
|
||||
run: |
|
||||
add-apt-repository ppa:rmescandon/yq -y
|
||||
apt install yq -y
|
||||
- name: Get package name
|
||||
id: chart_name
|
||||
uses: mikefarah/yq@master
|
||||
with:
|
||||
cmd: yq .name Chart.yaml
|
||||
|
||||
- name: Get package version
|
||||
id: chart_version
|
||||
uses: mikefarah/yq@master
|
||||
with:
|
||||
cmd: yq .version Chart.yaml
|
||||
|
||||
- name: build helm package
|
||||
shell: bash
|
||||
@ -28,6 +35,8 @@ jobs:
|
||||
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
|
||||
REPO_USERNAME: ${{ vars.REPO_USERNAME }}
|
||||
REPO_HOST: ${{ vars.REPO_HOST }}
|
||||
CHART_NAME: ${{ steps.chart_username.outputs.result }}
|
||||
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
|
||||
run: |
|
||||
REPO_PATH=$(git rev-parse --show-toplevel)
|
||||
CHART_NAME=$(yq .version Chart.yaml)
|
||||
|
Loading…
Reference in New Issue
Block a user