This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git
The following commit(s) were added to refs/heads/main by this push:
new 1a12b00 OCI distribution (#318)
1a12b00 is described below
commit 1a12b00db73121b344b080e2991f4cb95ca54ce0
Author: Valentin Delaye <[email protected]>
AuthorDate: Tue Jun 3 05:39:27 2025 +0200
OCI distribution (#318)
Signed-off-by: Valentin Delaye <[email protected]>
---
.github/workflows/release.yaml | 20 ++++++++++++++++++++
README.md | 2 ++
2 files changed, 22 insertions(+)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 4554ff4..e169df8 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -10,6 +10,10 @@ on:
- "!**.md"
workflow_dispatch:
+permissions:
+ contents: write
+ packages: write
+
jobs:
release:
runs-on: ubuntu-latest
@@ -25,6 +29,13 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
+ - name: Login to GitHub Container Registry
+ uses: docker/login-action@v3
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
- name: Install Helm
run: |
echo "installing helm 3..."
@@ -41,3 +52,12 @@ jobs:
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: false
+
+ - name: Push Chart to GHCR
+ run: |
+ for pkg in .cr-release-packages/*; do
+ if [ -z "${pkg:-}" ]; then
+ break
+ fi
+ helm push "${pkg}" oci://ghcr.io/${{ github.repository }}
+ done
diff --git a/README.md b/README.md
index 1332c36..a3f2b13 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,8 @@ ENCRYPTION_SECRET=$(openssl rand -base64 2000 | tr -dc 'A-Z'
| fold -w 128 | hea
helm install devlake devlake/devlake --version=1.0.2-beta8 --set
lake.encryptionSecret.secret=$ENCRYPTION_SECRET
```
+Helm chart are also published to GitHub container registry as OCI artifact.
+
If you are using minikube inside your mac, please use the following command to
forward the port:
```shell