diff --git a/.github/workflows/common.release.yaml b/.github/workflows/common.release.yaml index fe117595..a00f97e4 100644 --- a/.github/workflows/common.release.yaml +++ b/.github/workflows/common.release.yaml @@ -61,12 +61,14 @@ jobs: run: echo ${{ secrets.QUAY_TCCR_TOKEN }} | helm registry login -u ${{ secrets.QUAY_TCCR_USER }} --password-stdin quay.io - name: Push Charts to Quay + shell: bash run: | for pkg in .cr-release-packages/*; do if [ -z "${pkg:-}" ]; then break fi - helm push "${pkg}" oci://quay.io/truecharts || echo "failed to upload $pkg to OCI" + name="${pkg%%-[0-9].[0-9].[0-9].tgz}" + helm push "${pkg}" oci://quay.io/truecharts/$name || echo "failed to upload $pkg to OCI" curl -X POST -H "Content-Type: application/json" -d '{"visibility": "public"}' -H "Authorization: Bearer ${{ secrets.QUAY_TCCR_API_TOKEN }}" "https://quay.io/api/v1/repository/tccr/$pkg/changevisibility" || echo "failed to set $pkg to public on OCI" done diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index e7a5a45a..43c85330 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 17.2.5 +version: 17.2.6