File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
actions/helm/release-chart Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 3030 },
3131 { "path": ".image.tag", "value": "0.1.0" }
3232 ]
33+
3334 - name : umbrella-application
3435 values : |
3536 [
5556 with :
5657 oci-registry : ghcr.io
5758 oci-registry-password : ${{ github.token }}
58- chart : ${{ matrix.chart.name }}-test
59+ name : ${{ matrix.chart.name }}-test
5960 path : tests/charts/${{ matrix.chart.name }}
6061 values : ${{ matrix.chart.values }}
6162 tag : 0.1.0
6566 # yamllint disable rule:line-length
6667 - name : Check release chart output
6768 run : |
68- if [ "${{ steps.release-chart.outputs.image }}" != "ghcr.io/hoverkraft-tech/ci-github-container/charts/${{ matrix.chart.name }}-test/ci-github-container :0.1.0" ]; then
69+ if [ "${{ steps.release-chart.outputs.image }}" != "ghcr.io/hoverkraft-tech/ci-github-container/charts/${{ matrix.chart.name }}-test:0.1.0" ]; then
6970 echo "Unexpected chart image name"
7071 exit 1
7172 fi
7576 - name : Check chart status
7677 run : |
7778 echo ${{ github.token }} | helm registry login -u ${{ github.repository_owner }} --password-stdin ghcr.io
78- helm pull --version "0.1.0" oci://ghcr.io/hoverkraft-tech/ci-github-container/charts/${{ matrix.chart.name }}-test/ci-github-container
79+ helm pull --version "0.1.0" oci://ghcr.io/hoverkraft-tech/ci-github-container/charts/${{ matrix.chart.name }}-test
7980 env :
8081 HELM_EXPERIMENTAL_OCI : " 1"
8182
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ inputs:
2727 OCI registry password.
2828 See <https://github.com/appany/helm-oci-chart-releaser#usage>.
2929 default : ${{ github.token }}
30- chart :
31- description : " Chart name to release"
30+ name :
31+ description : " Chart repository name to release"
3232 required : true
3333 path :
3434 description : " Path to the chart to release"
@@ -303,9 +303,10 @@ runs:
303303 - id : chart-releaser
304304305305 with :
306- name : ${{ github.event.repository .name }}
307- repository : ${{ github.repository }}/charts/${{ inputs.chart }}
306+ name : ${{ inputs .name }}
307+ repository : ${{ github.repository }}/charts
308308 tag : ${{ inputs.tag }}
309+ app_version : ${{ inputs.tag }}
309310 path : ${{ inputs.path }}
310311 registry : ${{ inputs.oci-registry }}
311312 registry_username : ${{ inputs.oci-registry-username }}
You can’t perform that action at this time.
0 commit comments