-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Amit Zafran
committed
Aug 1, 2024
1 parent
b9e40fb
commit dc921f5
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ jobs: | |
with: | ||
version: v3.12.0 | ||
|
||
- name: Run PreCommit | ||
uses: pre-commit/[email protected] | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
env: | ||
|
@@ -42,7 +45,7 @@ jobs: | |
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Push charts to GHCR | ||
run: | | ||
shopt -s nullglob | ||
|
@@ -51,4 +54,4 @@ jobs: | |
break | ||
fi | ||
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/charts" | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/gruntwork-io/pre-commit | ||
rev: v0.1.23 | ||
hooks: | ||
- id: helmlint | ||
|
||
- repo: https://github.com/norwoodj/helm-docs | ||
rev: "v1.14.2" | ||
hooks: | ||
- id: helm-docs-container | ||
args: | ||
# Make the tool search for charts only under the `example-charts` directory | ||
- --chart-search-root=charts | ||
- --chart-search-root=charts |