Compare commits

...

2 Commits

Author SHA1 Message Date
7027cc7b99 [test helm] 2024-11-23 22:20:54 +01:00
42305deba4 [test helm] 2024-11-23 22:20:12 +01:00

View File

@@ -25,13 +25,12 @@ jobs:
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & package
run: |
sleep 20
helm create ${{ env.CHART_NAME }}
helm package ${{ env.CHART_NAME }}
curl --user ${{ REGISTRY_DOCKER_USER }}:${{ REGISTRY_DOCKER_PASS }} -X POST --upload-file ./${{ env.CHART_NAME }}-0.1.0.tgz https://gitea.jingoh.fr/api/packages/${{ REGISTRY_DOCKER_USER }}/helm/api/charts
- name: helm create chart
run: helm create ${{ env.CHART_NAME }}
- name: helm package
run: helm package ${{ env.CHART_NAME }}
- name: push repo
run: echo "curl --user ${{ REGISTRY_DOCKER_USER }}:${{ REGISTRY_DOCKER_PASS }} -X POST --upload-file ./${{ env.CHART_NAME }}-0.1.0.tgz https://gitea.jingoh.fr/api/packages/${{ REGISTRY_DOCKER_USER }}/helm/api/charts"
# helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
# helm cm-push ./{chart_file}.tgz {repo}