Skip to content

Build VMI on Bacalhau Release #42

Build VMI on Bacalhau Release

Build VMI on Bacalhau Release #42

name: Build VMI on Bacalhau Release
on:
release:
types: [created]
permissions:
contents: write
jobs:
handle-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Trigger VMI Build
env:
REPO: ${{ github.repository }}
run: |
curl -L -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/$REPO/dispatches" \
-d '{"event_type": "new-version-release", "client_payload": {"release_tag": "${{ github.ref_name }}"} }'