Skip to content

Create workflow to build and deploy balenaOS #53

Create workflow to build and deploy balenaOS

Create workflow to build and deploy balenaOS #53

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
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>

Check failure on line 21 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" -> "balena-os/balena-yocto-scripts/.github/workflows/yocto-build.yml@<tag>" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
secrets: inherit
with:
machine: generic-aarch64
sign-image: false
environment: 'balena-machine' # have a github env with SSH port , ssh URL