Skip to content

Commit

Permalink
Merge pull request #7 from francostellari/goreleaser
Browse files Browse the repository at this point in the history
🐛 Fix `v` issue
  • Loading branch information
nirrozenbaum authored Mar 21, 2024
2 parents 636d0b8 + baed7d4 commit d01db69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ jobs:
- name: Package and push chart
run: |
chartVersion=$(echo ${{ github.ref_name }} | cut -c 2-)
sed -i 's@OTP_IMAGE_PLACEHOLDER@${{ env.REGISTRY }}/${{ env.CONTROLLER_IMAGE }}:${{ github.ref_name }}@g' ${{ env.CHART_PATH }}/templates/controller.yaml
sed -i 's@OTP_IMAGE_PLACEHOLDER@${{ env.REGISTRY }}/${{ env.CONTROLLER_IMAGE }}:${chartVersion}@g' ${{ env.CHART_PATH }}/templates/controller.yaml
helm package ${{ env.CHART_PATH }} --destination . --version ${chartVersion} --app-version ${chartVersion} --dependency-update
helm push ./*.tgz oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

0 comments on commit d01db69

Please sign in to comment.