Skip to content

Commit

Permalink
ci(oci): helm repackaging (cryostatio#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jul 17, 2024
1 parent a58569b commit 3e27723
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/push-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,19 @@ jobs:
uses: azure/setup-helm@v4
with:
version: v3.14.4
- id: releaser
name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
charts_dir: charts
config: .github/helm-release-config.yml
skip_upload: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_PKGS_WRITE }}
- name: Patch chart name
run: yq -i ".name = \"${{ github.event.repository.name }}\"" ./charts/*/Chart.yaml
- name: Package charts
run: helm package ./charts/*
- name: Push charts to GHCR
run: |
for pkg in .cr-release-packages/*.tgz; do
for pkg in ./*.tgz; do
if [ -z "${pkg:-}" ]; then
break
fi
Expand Down
8 changes: 8 additions & 0 deletions charts/cryostat/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Cryostat Helm Chart
A Helm chart for deploying [Cryostat](https://cryostat.io/) on Kubernetes and OpenShift

## Installing

The Cryostat Helm Chart is available to install from various locations:
- `helm repo add cryostat https://cryostat.io/helm-charts ; helm search repo cryostat ; helm install cryostat cryostat/cryostat`
- `helm install cryostat oci://ghcr.io/cryostatio/cryostat-helm --version $VERSION`
- `git clone https://github.com/cryostatio/cryostat-helm ; cd cryostat-helm ; helm install cryostat ./charts/cryostat`
- `helm repo add openshift-helm-charts https://charts.openshift.io ; helm search repo cryostat ; helm install cryostat openshift-helm-charts/redhat-cryostat`

## Parameters

### Cryostat Container
Expand Down

0 comments on commit 3e27723

Please sign in to comment.