diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8874d7d212..fde03b52b6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -305,19 +305,6 @@ jobs: run: | mkdir -p ${{ env.ARTIFACT_DIR }}/${{ env.HELM_PACKAGE_DIR }} helm package ${{ env.HELM_CHARTS_DIR }} --version ${{ env.CHART_VERSION }} --app-version ${{ env.REL_VERSION }} --destination ${{ env.ARTIFACT_DIR }}/${{ env.HELM_PACKAGE_DIR }} - # TODO: Delete this step once we use GHCR as the helm chart repo. - - name: Setup Azure CLI - run: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash - - name: az CLI login - run: | - az login --service-principal \ - --username ${{ secrets.AZURE_SP_TESTS_APPID }} \ - --password ${{ secrets.AZURE_SP_TESTS_PASSWORD }} \ - --tenant ${{ secrets.AZURE_SP_TESTS_TENANTID }} - # TODO: Delete this step once we use GHCR as the helm chart repo. - - name: Push helm chart to ACR - run: | - az acr helm push --name radius ${{ env.ARTIFACT_DIR }}/${{ env.HELM_PACKAGE_DIR }}/radius-${{ env.CHART_VERSION }}.tgz --force - name: Push helm chart to GHCR run: | echo ${{ secrets.GITHUB_TOKEN }} | helm registry login -u ${{ github.actor }} --password-stdin ${{ env.OCI_REGISTRY }}