Skip to content

v1.6.0-rc1

v1.6.0-rc1 #54

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@v4
- name: Trigger VMI Build
shell: bash
env:
REPO: ${{ github.repository }}
run: |
set -euo pipefail
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 }}"} }'