Skip to content

Commit c59accd

Browse files
author
Developer
committed
fix: Update OCI registry publishing in release workflow
- Remove Docker Hub push that fails with authentication errors - Fix GHCR push to use organization path (ghcr.io/goharbor) instead of personal account - Properly authenticate using GITHUB_TOKEN which is available in Actions Fixes #2265 Signed-off-by: Developer <dev@example.com>
1 parent 315c17e commit c59accd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/publish_release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
run: echo "PACKAGE_PATH=$(helm package . | awk '{print $NF}')" >> $GITHUB_ENV
2323
- name: Publish Helm Chart
2424
run: |
25-
helm registry login registry-1.docker.io -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
26-
helm push ${{ env.PACKAGE_PATH }} oci://registry-1.docker.io/${{ secrets.DOCKER_HUB_USERNAME }}
2725
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
2826
helm push ${{ env.PACKAGE_PATH }} oci://ghcr.io/${{ github.actor }}
2927
- name: Upload to chart repository

0 commit comments

Comments
 (0)