Skip to content

Create workflow to build and deploy balenaOS #2

Create workflow to build and deploy balenaOS

Create workflow to build and deploy balenaOS #2

name: Yocto build
# device repo example psuedo code for visualisation purposes
on:
pull_request:
branches:
- main
- master
jobs:
yocto-generic-amd64:
name: yocto-build-generic-amd64
uses: ./.github/workflows/yocto-build-deploy.yml

Check failure on line 13 in .github/workflows/pull-request-example.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request-example.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pull-request-example.yml" -> "./.github/workflows/yocto-build-deploy.yml" : You have an error in your yaml syntax on line 128
secrets: inherit
with:
environment: production
machine: generic-amd64
deploy-hostapp: true
generic-aarch64:
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag>
secrets: inherit
with:
machine: generic-aarch64
sign-image: false
environment: 'balena-machine' # have a github env with SSH port , ssh URL