Skip to content

Commit

Permalink
feat(Helm): Adding OCI helm chart support
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Sep 30, 2023
1 parent a539267 commit 4b3d433
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ jobs:
charts_dir: charts/
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Charts to GHCR
run: |
for pkg in .cr-release-packages/*; do
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" oci://ghcr.io/cloudtooling/helm-charts
done
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ Valid commands are:

## Advanced

### Helm

To install the Helm Chart use the OCI Package:

```
helm install keycloak-reporter oci://cloudtooling/helm-charts
```

### Config file

You can also provider a config file via env var `CONFIG_FILE` and then just provide the commands, e.g.:
Expand Down

0 comments on commit 4b3d433

Please sign in to comment.