From 733da63abf618ed3dd14f66d70fe6b3388714be8 Mon Sep 17 00:00:00 2001 From: Anthony Rabbito Date: Thu, 27 Jun 2024 23:18:07 -0400 Subject: [PATCH] testing Signed-off-by: Anthony Rabbito --- .github/workflows/charts-release-oci.yaml | 28 ++++++++--------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.github/workflows/charts-release-oci.yaml b/.github/workflows/charts-release-oci.yaml index 662735a..47b7d7d 100644 --- a/.github/workflows/charts-release-oci.yaml +++ b/.github/workflows/charts-release-oci.yaml @@ -25,25 +25,17 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Install Helm uses: azure/setup-helm@v4 - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.6.0 - env: - skip_upload: true - CR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: googleapis/release-please-action@v4 + with: + release-type: helm + path: chart/tailscale-derp + skip-github-pull-request: true - - name: Push Charts to GHCR - run: | - for pkg in .cr-release-packages/*; do - if [ -z "${pkg:-}" ]; then - break - fi - helm push "${pkg}" oci://ghcr.io/${{ github.repository }}/chart - done + # - name: Package & Push Helm Charts + # shell: bash + # run: | + # helm package --dependency-update --destination "${{ env.CHARTS_SRC_DIR }}/${CHART_TYPE}" --version "${CHART_VERSION}" + # helm push "${{ env.CHARTS_SRC_DIR }}/${CHART_TYPE}/${CHART_NAME}-${CHART_VERSION}.tgz" oci://${{ env.TARGET_REGISTRY }}/${{ github.actor }}/helm