Compare commits
No commits in common. "583643bcab41b20ab068046fd6daacc0a8200a64" and "5523cd61d1e8ed9f9a7694587297297f672a90fa" have entirely different histories.
583643bcab
...
5523cd61d1
@ -2,7 +2,8 @@ name: Package and publish helm chart
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
package-helm:
|
package-helm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -26,21 +27,8 @@ jobs:
|
|||||||
dir_names_max_depth: '2'
|
dir_names_max_depth: '2'
|
||||||
files: 'charts/**'
|
files: 'charts/**'
|
||||||
|
|
||||||
- name: Run helm lint on all changed charts
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
ALL_CHANGED_CHARTS: ${{ steps.changed-files.outputs.all_changed_files }}
|
|
||||||
run: |
|
|
||||||
REPO_PATH=$(git rev-parse --show-toplevel)
|
|
||||||
for chart in ${ALL_CHANGED_CHARTS}; do
|
|
||||||
cd ${REPO_PATH}/${chart}
|
|
||||||
helm dependency build
|
|
||||||
helm lint .
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: build helm package
|
- name: build helm package
|
||||||
shell: bash
|
shell: bash
|
||||||
if: gitea.ref == 'refs/heads/main'
|
|
||||||
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 }}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/home-assistant/home-assistant
|
repository: ghcr.io/home-assistant/home-assistant
|
||||||
tag:
|
tag:
|
||||||
|
Loading…
Reference in New Issue
Block a user