We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7d3d0 commit 8539b24Copy full SHA for 8539b24
.github/workflows/helm_publish.yaml
@@ -16,6 +16,9 @@ permissions:
16
jobs:
17
publish:
18
runs-on: ubuntu-24.04
19
+ env:
20
+ OCI_REPO: oci://ghcr.io/itsfarhan/charts
21
+
22
steps:
23
- name: Harden Runner
24
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
@@ -39,9 +42,10 @@ jobs:
39
42
git fetch origin gh-pages
40
43
git checkout origin/gh-pages -- charts/
41
44
ls -la charts/
45
+ OCI_REPO="${OCI_REPO:-oci://ghcr.io/itsfarhan/charts}"
46
for chart in charts/k8gb-*.tgz; do
47
if [ -f "$chart" ]; then
- helm push "$chart" "oci://ghcr.io/k8gb-io/charts"
48
+ helm push "$chart" "$OCI_REPO"
49
fi
50
done
51
0 commit comments