From 4af17c2b259bd31a9499fdb0e15bcdae9d09a866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Fr=C4=85tczak?= Date: Sun, 5 Nov 2023 17:00:54 +0100 Subject: [PATCH] test --- .gitea/workflows/publish.yaml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 7f5e165..4dac3e9 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -13,13 +13,21 @@ jobs: - name: Install cm-push run: | helm plugin install https://github.com/chartmuseum/helm-push - - name: Package helm chart - run: | - helm package chart/ - - name: Add helm repo - run: | - helm repo add --username accidentallycompetent --password ${{ secret.PUBLIC_PACKAGE_WRITE }} octocloudlab https://teapot.octopusx.de/api/packages/octocloudlab/helm - - name: Upload chart artifact - run: | - helm cm-push chart/*.tgz octocloudlab + # - name: Package helm chart + # run: | + # helm package chart/ + # - name: Add helm repo + # run: | + # helm repo add --username accidentallycompetent --password ${{ secret.PUBLIC_PACKAGE_WRITE }} octocloudlab https://teapot.octopusx.de/api/packages/octocloudlab/helm + # - name: Upload chart artifact + # run: | + # helm cm-push chart/*.tgz octocloudlab + - name: Push Helm Chart to ChartMuseum + uses: bsord/helm-push@v4.1.0 + with: + username: accidentallycompetent + password: ${{ secrets.PUBLIC_PACKAGE_WRITE }} + registry-url: 'https://teapot.octopusx.de/api/packages/octocloudlab/helm' + force: true + chart-folder: chart - run: echo "🍏 This job's status is ${{ job.status }}."