Compare commits

...

2 Commits

Author SHA1 Message Date
a46dec16e4 [test helm] 2024-11-23 22:15:55 +01:00
f32d6ed552 [test helm] 2024-11-23 21:34:31 +01:00

View File

@@ -27,9 +27,10 @@ jobs:
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}" run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & package - name: clone & package
run: | run: |
git clone https://${{ secrets.REGISTRY_DOCKER_PASS }}@${{ vars.REGISTRY_DOCKER }}/${{ secrets.REGISTRY_DOCKER_USER }}/${{ env.CHART_NAME }} sleep 300
helm package ${{ env.CHART_NAME }} # helm create ${{ env.CHART_NAME }}
curl --user ${{ REGISTRY_DOCKER_USER }}:${{ REGISTRY_DOCKER_PASS }} -X POST --upload-file ./${{ env.CHART_NAME }}.tgz https://gitea.example.com/api/packages/${{ REGISTRY_DOCKER_USER }}/helm/api/charts # 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.example.com/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 repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm