From 5cf0efeaa4169337b60e17dbb830b8ca72a607b7 Mon Sep 17 00:00:00 2001 From: Fatih Acar Date: Mon, 4 Nov 2024 20:11:17 +0100 Subject: [PATCH] chore(ci): remove legacy chart repo Signed-off-by: Fatih Acar --- .github/workflows/publish-helm-chart.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/publish-helm-chart.yml b/.github/workflows/publish-helm-chart.yml index eef1220871..6ff5af105a 100644 --- a/.github/workflows/publish-helm-chart.yml +++ b/.github/workflows/publish-helm-chart.yml @@ -40,9 +40,6 @@ jobs: - name: Install Helm uses: azure/setup-helm@v4.2.0 - - name: Install Helm Push Plugin - run: helm plugin install https://github.com/chartmuseum/helm-push - - name: Determine Chart Version id: version run: | @@ -61,9 +58,6 @@ jobs: --username '${{ secrets.HARBOR_USERNAME }}' --password '${{ secrets.HARBOR_PASSWORD }}' - - name: Add Helm repository - run: helm repo add opsmill https://${{ vars.HARBOR_HOST }}/chartrepo/opsmill - - name: Package Helm Chart run: | helm package --dependency-update ./helm --version ${{ steps.version.outputs.version }} @@ -73,12 +67,5 @@ jobs: run: | helm push infrahub-${{ steps.version.outputs.version }}.tgz oci://${{ vars.HARBOR_HOST }}/opsmill/chart - - name: Push Helm Chart to traditional repository - if: ${{ inputs.publish }} - run: > - helm cm-push -f infrahub-${{ steps.version.outputs.version }}.tgz opsmill - --username '${{ secrets.HARBOR_USERNAME }}' - --password '${{ secrets.HARBOR_PASSWORD }}' - - name: Cleanup run: rm -f infrahub-${{ steps.version.outputs.version }}.tgz