Skip to content

Commit 3244a2f

Browse files
committed
update publish job
1 parent 19d019d commit 3244a2f

1 file changed

Lines changed: 20 additions & 11 deletions

File tree

.github/workflows/push.yaml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,24 @@ jobs:
1313
run: helm lint
1414

1515
deploy:
16-
name: deploy
17-
if: startsWith(github.ref, 'refs/tags/v')
18-
needs: lint
19-
runs-on: ubuntu-latest
20-
steps:
21-
- uses: craftech-io/helm-push-action@v0.0.2
16+
name: deploy
17+
if: startsWith(github.ref, 'refs/tags/v')
18+
needs: lint
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Helm Push
22+
uses: bsord/helm-push@v4.1.0
2223
with:
23-
helm-chart-repo-name: codex
24-
helm-chart-repo-url: https://charts.codex.so
25-
chart-dir: .
26-
repo-username: ${{ secrets.HELM_REPO_USERNAME }}
27-
repo-password: ${{ secrets.HELM_REPO_PASSWORD }}
24+
useOCIRegistry: true
25+
registry-url: oci://ghcr.io/${{ github.repository }}
26+
username: ${{ github.actor }}
27+
access-token: ${{ secrets.GITHUB_TOKEN }}
28+
force: true
29+
chart-folder: .
30+
# - uses: craftech-io/helm-push-action@v0.0.2
31+
# with:
32+
# helm-chart-repo-name: codex
33+
# helm-chart-repo-url: https://charts.codex.so
34+
# chart-dir: .
35+
# repo-username: ${{ secrets.HELM_REPO_USERNAME }}
36+
# repo-password: ${{ secrets.HELM_REPO_PASSWORD }}

0 commit comments

Comments
 (0)