From f5e3169c4ba6b4371ec020f6100d689cb3c4071c Mon Sep 17 00:00:00 2001 From: Eran Kampf Date: Wed, 10 Jul 2024 15:31:07 -0700 Subject: [PATCH] Fix chart name to match OCI repo name (required by dockerhub) --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 75bc2184..55fd5ef3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -69,6 +69,7 @@ jobs: - uses: chrisdickinson/setup-yq@latest - name: Set env vars +# TODO: We need to make CHART_VERSION identical to APP_VERSION but without the semver extra stuff on dev branches run: | echo "CHART_VERSION=$(yq r deploy/twingate-operator/Chart.yaml version)" >> $GITHUB_ENV echo "APP_VERSION=$(echo ${GITHUB_REF_NAME:1})" >> $GITHUB_ENV @@ -94,7 +95,7 @@ jobs: run: | echo ${{ secrets.GITHUB_TOKEN }} | helm registry login -u twingate --password-stdin $REGISTRY helm package deploy/twingate-operator --version $CHART_VERSION --app-version $APP_VERSION - helm push twingate-operator-chart-$CHART_VERSION.tgz oci://$REGISTRY/twingate/charts + helm push kubernetes-operator-chart-$CHART_VERSION.tgz oci://$REGISTRY/twingate/charts # release_prod: # name: Release PROD