diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index df2d33c..7f5e165 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -13,12 +13,13 @@ jobs: - name: Install cm-push run: | helm plugin install https://github.com/chartmuseum/helm-push - - name: Push Helm Chart to Gitea - uses: bsord/helm-push - with: - username: accidentallycompetent - password: ${{ secret.PUBLIC_PACKAGE_WRITE }} - registry-url: 'https://gitea.example.com/api/packages/octocloudlab/helm' - force: true - chart-folder: chart + - 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 - run: echo "🍏 This job's status is ${{ job.status }}."