Update Helm version in workflow files #21
@@ -10,7 +10,7 @@ jobs:
|
|||||||
helm-package:
|
helm-package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
APP: charts/audiobookshelf
|
APP: charts/audiobookshelf
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -24,20 +24,20 @@ jobs:
|
|||||||
|
|
||||||
CHART_VERSION=$(grep -oP '(?<=^version: ).*' ${{ env.APP }}/Chart.yaml)
|
CHART_VERSION=$(grep -oP '(?<=^version: ).*' ${{ env.APP }}/Chart.yaml)
|
||||||
echo "Helm Chart version: $CHART_VERSION"
|
echo "Helm Chart version: $CHART_VERSION"
|
||||||
echo "::set-output name=tag::$CHART_VERSION"
|
echo "::set-output name=tag::$CHART_VERSION"
|
||||||
|
|
||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
run: |
|
run: |
|
||||||
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
|
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.4 && chmod +x /usr/local/bin/helm
|
||||||
helm version
|
helm version
|
||||||
|
|
||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
helm dependency update ${{ env.APP }}
|
helm dependency update ${{ env.APP }}
|
||||||
helm lint ${{ env.APP }}
|
helm lint ${{ env.APP }}
|
||||||
helm package ${{ env.APP }}
|
helm package ${{ env.APP }}
|
||||||
|
|
||||||
- name: Upload Helm Package to repo
|
- name: Upload Helm Package to repo
|
||||||
run: |
|
run: |
|
||||||
curl --user ${{ secrets.USER }}:${{ secrets.TOKEN }} -X POST --upload-file ./${{ steps.get_version.outputs.app }}-${{ steps.get_version.outputs.tag }}.tgz ${{ vars.HELMREGISTRY }}/api/packages/${{ vars.OWNER }}/helm/api/charts
|
curl --user ${{ secrets.USER }}:${{ secrets.TOKEN }} -X POST --upload-file ./${{ steps.get_version.outputs.app }}-${{ steps.get_version.outputs.tag }}.tgz ${{ vars.HELMREGISTRY }}/api/packages/${{ vars.OWNER }}/helm/api/charts
|
||||||
|
@@ -10,7 +10,7 @@ jobs:
|
|||||||
helm-package:
|
helm-package:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
APP: charts/dokuwiki
|
APP: charts/dokuwiki
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -24,20 +24,20 @@ jobs:
|
|||||||
|
|
||||||
CHART_VERSION=$(grep -oP '(?<=^version: ).*' ${{ env.APP }}/Chart.yaml)
|
CHART_VERSION=$(grep -oP '(?<=^version: ).*' ${{ env.APP }}/Chart.yaml)
|
||||||
echo "Helm Chart version: $CHART_VERSION"
|
echo "Helm Chart version: $CHART_VERSION"
|
||||||
echo "::set-output name=tag::$CHART_VERSION"
|
echo "::set-output name=tag::$CHART_VERSION"
|
||||||
|
|
||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
run: |
|
run: |
|
||||||
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
|
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.4 && chmod +x /usr/local/bin/helm
|
||||||
helm version
|
helm version
|
||||||
|
|
||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
run: |
|
run: |
|
||||||
helm dependency update ${{ env.APP }}
|
helm dependency update ${{ env.APP }}
|
||||||
helm lint ${{ env.APP }}
|
helm lint ${{ env.APP }}
|
||||||
helm package ${{ env.APP }}
|
helm package ${{ env.APP }}
|
||||||
|
|
||||||
- name: Upload Helm Package to repo
|
- name: Upload Helm Package to repo
|
||||||
run: |
|
run: |
|
||||||
curl --user ${{ secrets.USER }}:${{ secrets.TOKEN }} -X POST --upload-file ./${{ steps.get_version.outputs.app }}-${{ steps.get_version.outputs.tag }}.tgz ${{ vars.HELMREGISTRY }}/api/packages/${{ vars.OWNER }}/helm/api/charts
|
curl --user ${{ secrets.USER }}:${{ secrets.TOKEN }} -X POST --upload-file ./${{ steps.get_version.outputs.app }}-${{ steps.get_version.outputs.tag }}.tgz ${{ vars.HELMREGISTRY }}/api/packages/${{ vars.OWNER }}/helm/api/charts
|
||||||
|
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
run: |
|
run: |
|
||||||
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
|
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.4 && chmod +x /usr/local/bin/helm
|
||||||
helm version
|
helm version
|
||||||
|
|
||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
|
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
run: |
|
run: |
|
||||||
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
|
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.4 && chmod +x /usr/local/bin/helm
|
||||||
helm version
|
helm version
|
||||||
|
|
||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
|
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
run: |
|
run: |
|
||||||
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
#curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||||
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.3 && chmod +x /usr/local/bin/helm
|
curl -kSso /usr/local/bin/helm https://debmirror.cooltux.net/helm-v3.18.4 && chmod +x /usr/local/bin/helm
|
||||||
helm version
|
helm version
|
||||||
|
|
||||||
- name: Package Helm Chart
|
- name: Package Helm Chart
|
||||||
|
Reference in New Issue
Block a user