Skip to content

Commit

Permalink
Merge pull request goharbor#1778 from zyyw/1.15.0-cp-update-publish-r…
Browse files Browse the repository at this point in the history
…elease

[cherry-pick] fix: update publish release when publishing helm chart
  • Loading branch information
wy65701436 authored Aug 28, 2024
2 parents 8da1c5e + 353c852 commit 126d130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Publish Helm Chart
run: |
helm registry login registry-1.docker.io -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
helm push ${{ env.PACKAGE_PATH }} oci://registry-1.docker.io/${{ secrets.DOCKER_HUB_USERNAME }}
helm push ${{ env.PACKAGE_PATH }} oci://registry-1.docker.io/goharbor
helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
helm push ${{ env.PACKAGE_PATH }} oci://ghcr.io/${{ github.actor }}
helm push ${{ env.PACKAGE_PATH }} oci://ghcr.io/goharbor
- name: Upload to chart repository
run: |
git config --global user.email "${{ github.event.repository.name }}@users.noreply.github.com"
Expand Down

0 comments on commit 126d130

Please sign in to comment.