test
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 32s Details

This commit is contained in:
Tomasz Frątczak 2023-11-05 17:00:54 +01:00
parent f68ecdbd53
commit 4af17c2b25
1 changed files with 17 additions and 9 deletions

View File

@ -13,13 +13,21 @@ jobs:
- name: Install cm-push - name: Install cm-push
run: | run: |
helm plugin install https://github.com/chartmuseum/helm-push helm plugin install https://github.com/chartmuseum/helm-push
- name: Package helm chart # - name: Package helm chart
run: | # run: |
helm package chart/ # helm package chart/
- name: Add helm repo # - name: Add helm repo
run: | # run: |
helm repo add --username accidentallycompetent --password ${{ secret.PUBLIC_PACKAGE_WRITE }} octocloudlab https://teapot.octopusx.de/api/packages/octocloudlab/helm # helm repo add --username accidentallycompetent --password ${{ secret.PUBLIC_PACKAGE_WRITE }} octocloudlab https://teapot.octopusx.de/api/packages/octocloudlab/helm
- name: Upload chart artifact # - name: Upload chart artifact
run: | # run: |
helm cm-push chart/*.tgz octocloudlab # 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 }}." - run: echo "🍏 This job's status is ${{ job.status }}."