fix(charts): use default ghcr oci paths

This commit is contained in:
Haitao Pan 2026-04-02 15:08:58 +08:00
parent 446dd16c03
commit 17186b6222
2 changed files with 11 additions and 7 deletions

View File

@ -21,15 +21,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
- name: Setup Helm - name: Setup Helm
uses: azure/setup-helm@v4 uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4
with: with:
version: v3.15.4 version: v3.15.4
- name: Login to GHCR - name: Log In To GHCR
run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u "${{ github.actor }}" --password-stdin uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Lint charts - name: Lint charts
run: | run: |
@ -62,5 +66,5 @@ jobs:
run: | run: |
set -euo pipefail set -euo pipefail
for pkg in dist/*.tgz; do for pkg in dist/*.tgz; do
helm push "${pkg}" oci://ghcr.io/x-evor/charts helm push "${pkg}" oci://ghcr.io/x-evor
done done

View File

@ -1,6 +1,6 @@
# OCI Charts # 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 ## Layout
@ -11,6 +11,6 @@ This repository stores reusable Helm charts published to `ghcr.io/x-evor/charts`
## Release Model ## Release Model
- Registry: `oci://ghcr.io/x-evor/charts` - Registry: `oci://ghcr.io/x-evor`
- Each chart is versioned independently - Each chart is versioned independently
- Runtime image tags are managed by GitOps values rather than chart versions - Runtime image tags are managed by GitOps values rather than chart versions