Added Helm chart package and publish step via HTTP to Gitea Helm registry
Some checks failed
Build & Push / build (push) Failing after 5m17s
Some checks failed
Build & Push / build (push) Failing after 5m17s
This commit is contained in:
@@ -42,3 +42,14 @@ jobs:
|
|||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=registry,ref=${{ env.IMAGE }}:latest
|
cache-from: type=registry,ref=${{ env.IMAGE }}:latest
|
||||||
cache-to: type=inline
|
cache-to: type=inline
|
||||||
|
|
||||||
|
- name: Package Helm chart
|
||||||
|
run: helm package web/charts/factorio-dashboard
|
||||||
|
|
||||||
|
- name: Push Helm chart to Gitea
|
||||||
|
run: |
|
||||||
|
curl -u ${{ secrets.GITEA_USERNAME }}:${{ secrets.GITEA_TOKEN }} \
|
||||||
|
-X POST \
|
||||||
|
https://${{ env.REGISTRY }}/api/packages/sebse/helm/api/charts \
|
||||||
|
-F "chart=@factorio-dashboard-0.1.0.tgz" \
|
||||||
|
--fail-with-body
|
||||||
Reference in New Issue
Block a user