From 17186b6222eca416966b8c478a90a815170ce932 Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Thu, 2 Apr 2026 15:08:58 +0800 Subject: [PATCH] fix(charts): use default ghcr oci paths --- .github/workflows/release-oci-charts.yml | 14 +++++++++----- oci/charts/README.md | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-oci-charts.yml b/.github/workflows/release-oci-charts.yml index 90d79da..3456b55 100644 --- a/.github/workflows/release-oci-charts.yml +++ b/.github/workflows/release-oci-charts.yml @@ -21,15 +21,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 - name: Setup Helm - uses: azure/setup-helm@v4 + uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 with: version: v3.15.4 - - name: Login to GHCR - run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u "${{ github.actor }}" --password-stdin + - name: Log In To GHCR + uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Lint charts run: | @@ -62,5 +66,5 @@ jobs: run: | set -euo pipefail for pkg in dist/*.tgz; do - helm push "${pkg}" oci://ghcr.io/x-evor/charts + helm push "${pkg}" oci://ghcr.io/x-evor done diff --git a/oci/charts/README.md b/oci/charts/README.md index 32586b4..5665ca7 100644 --- a/oci/charts/README.md +++ b/oci/charts/README.md @@ -1,6 +1,6 @@ # OCI Charts -This repository stores reusable Helm charts published to `ghcr.io/x-evor/charts`. +This repository stores reusable Helm charts published to `ghcr.io/x-evor`. ## Layout @@ -11,6 +11,6 @@ This repository stores reusable Helm charts published to `ghcr.io/x-evor/charts` ## Release Model -- Registry: `oci://ghcr.io/x-evor/charts` +- Registry: `oci://ghcr.io/x-evor` - Each chart is versioned independently - Runtime image tags are managed by GitOps values rather than chart versions