Compare commits
2 Commits
e211d43dc7
...
6885f46027
Author | SHA1 | Date | |
---|---|---|---|
6885f46027 | |||
|
0d9a47f208 |
@ -12,6 +12,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Check out code
|
name: Check out code
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4.2.0
|
||||||
|
with:
|
||||||
|
version: v3.14.4
|
||||||
|
|
||||||
- name: Get package name
|
- name: Get package name
|
||||||
id: chart_name
|
id: chart_name
|
||||||
uses: mikefarah/yq@master
|
uses: mikefarah/yq@master
|
||||||
@ -34,4 +39,5 @@ jobs:
|
|||||||
REPO_PATH=$(git rev-parse --show-toplevel)
|
REPO_PATH=$(git rev-parse --show-toplevel)
|
||||||
mkdir /tmp/build
|
mkdir /tmp/build
|
||||||
cd /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