feat: add publishing of helm charts to ghcr registry (#18316)

This commit is contained in:
Allen Conlon
2025-07-08 13:19:12 -04:00
committed by GitHub
parent 6c4db7a2bc
commit 10c1e36fff
2 changed files with 42 additions and 14 deletions
+2
View File
@@ -693,6 +693,8 @@ jobs:
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/provisioner_helm_${version}.tgz gs://helm.coder.com/v2
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/index.yaml gs://helm.coder.com/v2
gsutil -h "Cache-Control:no-cache,max-age=0" cp helm/artifacthub-repo.yml gs://helm.coder.com/v2
helm push build/coder_helm_${version}.tgz oci://ghcr.io/coder/chart
helm push build/provisioner_helm_${version}.tgz oci://ghcr.io/coder/chart
- name: Upload artifacts to actions (if dry-run)
if: ${{ inputs.dry_run }}
+40 -14
View File
@@ -127,25 +127,51 @@ We support two release channels: mainline and stable - read the
- **Mainline** Coder release:
<!-- autoversion(mainline): "--version [version]" -->
- **Chart Registry**
```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.23.1
```
<!-- autoversion(mainline): "--version [version]" -->
```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.23.1
```
- **OCI Registry**
<!-- autoversion(mainline): "--version [version]" -->
```shell
helm install coder oci://ghcr.io/coder/chart/coder \
--namespace coder \
--values values.yaml \
--version 2.23.1
```
- **Stable** Coder release:
<!-- autoversion(stable): "--version [version]" -->
- **Chart Registry**
```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.22.1
```
<!-- autoversion(stable): "--version [version]" -->
```shell
helm install coder coder-v2/coder \
--namespace coder \
--values values.yaml \
--version 2.22.1
```
- **OCI Registry**
<!-- autoversion(stable): "--version [version]" -->
```shell
helm install coder oci://ghcr.io/coder/chart/coder \
--namespace coder \
--values values.yaml \
--version 2.22.1
```
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder
has started, the `coder-*` pods should enter the `Running` state.