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

This commit is contained in:
Tomasz Frątczak 2023-11-05 17:11:04 +01:00
parent 4af17c2b25
commit 70f1b57f08
1 changed files with 6 additions and 16 deletions

View File

@ -8,26 +8,16 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install helm
uses: azure/setup-helm@v3
- name: Install cm-push
run: |
helm plugin install https://github.com/chartmuseum/helm-push
# - name: Package helm chart
# - name: Install helm
# uses: azure/setup-helm@v3
# - name: Install cm-push
# 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
# helm plugin install https://github.com/chartmuseum/helm-push
- name: Push Helm Chart to Gitea Registry
uses: bsord/helm-push@v4.1.0
with:
username: accidentallycompetent
username: ${{ secrets.USERNAME }}
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 }}."