-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
- Loading branch information
1 parent
e88269d
commit f8d02b1
Showing
1 changed file
with
18 additions
and
0 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 |
---|---|---|
|
@@ -33,3 +33,21 @@ jobs: | |
set -e | ||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin | ||
IMG="$IMG_REPOSITORY:${{ github.ref_name }}" make docker-buildx | ||
- name: Create charts tmp directory | ||
run: | | ||
mkdir charts-tmp | ||
cp -a charts/kyverno-aws-adapter charts-tmp/kyverno-aws-adapter | ||
- name: Package charts | ||
run: | | ||
for dir in `find charts-tmp -maxdepth 1 -mindepth 1 -type d -print`; do | ||
chart=${dir##*/} | ||
echo "Found chart: ${chart}" | ||
helm package charts-tmp/${chart} --destination --version ${{ github.ref_name }} --app-version ${{ github.ref_name }} .helm-dist | ||
done | ||
# - name: Run chart-releaser | ||
# uses: helm/[email protected] | ||
# with: | ||
# charts_dir: .helm-dist | ||
# skip_packaging: true | ||
# env: | ||
# CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |