Browse Source

Update Helm chart on release

DarthSim 1 month ago
parent
commit
2013b2f654
1 changed files with 13 additions and 0 deletions
  1. 13 0
      .github/workflows/release.yml

+ 13 - 0
.github/workflows/release.yml

@@ -47,3 +47,16 @@ jobs:
         with:
         with:
           body_path: RELEASE_NOTES.txt
           body_path: RELEASE_NOTES.txt
           prerelease: ${{ fromJSON(steps.notes.outputs.prerelease) }}
           prerelease: ${{ fromJSON(steps.notes.outputs.prerelease) }}
+
+  update-helm-chart:
+    needs: [build]
+    runs-on: ubuntu-latest
+    steps:
+      - name: Repository Dispatch
+        uses: peter-evans/repository-dispatch@v2
+        with:
+          token: ${{ secrets.WORKFLOW_DISPATCH_TOKEN }}
+          repository: imgproxy/imgproxy-helm
+          event-type: imgproxy-version-updated
+          client-payload: '{"tag": "${{ github.ref_name }}"}'
+