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