|
|
@@ -3,6 +3,20 @@ on:
|
|
|
types: [released]
|
|
|
name: Update binaries
|
|
|
jobs:
|
|
|
+ update-self-hosted-helm-registry:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Get tag name
|
|
|
+ id: tag_name
|
|
|
+ run: |
|
|
|
+ tag=${GITHUB_TAG/refs\/tags\//}
|
|
|
+ echo ::set-output name=tag::$tag
|
|
|
+ env:
|
|
|
+ GITHUB_TAG: ${{ github.ref }}
|
|
|
+ - name: Run workflow
|
|
|
+ run: gh workflow run release.yaml --repo porter-dev/porter-self-hosted -f version=${{steps.tag_name.outputs.tag}}
|
|
|
+ env:
|
|
|
+ GITHUB_TOKEN: ${{ secrets.PORTER_DEV_GITHUB_TOKEN }}
|
|
|
push-docker-server-latest:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
@@ -95,4 +109,4 @@ jobs:
|
|
|
|
|
|
git add Formula
|
|
|
git commit -m "Update to version ${{steps.tag_name.outputs.tag}}"
|
|
|
- git push origin main
|
|
|
+ git push origin main
|