Compare commits
No commits in common. "5ba9984415e03014c6f68ef48f16b48a01a83958" and "4d6bd42402d27385ea1b2ab413e6dd28c37971cd" have entirely different histories.
5ba9984415
...
4d6bd42402
@ -29,19 +29,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cmd: yq .version Chart.yaml
|
cmd: yq .version Chart.yaml
|
||||||
|
|
||||||
- name: Run helm lint on all changed charts
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
helm dependency build
|
|
||||||
helm lint .
|
|
||||||
|
|
||||||
- name: build helm package
|
- name: build helm package
|
||||||
if: gitea.ref == 'refs/heads/main'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||||
CHART_NAME: ${{ steps.chart_name.outputs.result }}
|
CHART_NAME: ${{ steps.chart_name.outputs.result }}
|
||||||
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
|
CHART_VERSION: ${{ steps.chart_version.outputs.result }}
|
||||||
run: |
|
run: |
|
||||||
helm package .
|
REPO_PATH=$(git rev-parse --show-toplevel)
|
||||||
|
mkdir /tmp/build
|
||||||
|
cd /tmp/build
|
||||||
|
helm package $REPO_PATH
|
||||||
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts
|
curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts
|
||||||
|
Loading…
Reference in New Issue
Block a user