Skip to content

docker-tag-native.bb: add recipe #324

docker-tag-native.bb: add recipe

docker-tag-native.bb: add recipe #324

name: Seeed ReComputer J3010
on:
pull_request:
branches:
- main
- master
# ESR branches glob pattern
- "[0-9]+.[0-9]+.x"
pull_request_target:
branches:
- main
- master
# ESR branches glob pattern
- "[0-9]+.[0-9]+.x"
permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read
jobs:
yocto:
name: Yocto
uses: balena-os/balena-jetson-orin/.github/workflows/jetson-orin-nano-seeed-j3010.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
# still allowing it to run for all other event types.
if:
(github.event.pull_request.head.repo.full_name == github.repository) ==
(github.event_name == 'pull_request')
secrets: inherit
with:
deploy-environment: balena-cloud.com
device-repo-ref: master
meta-balena-ref: ${{ github.event.pull_request.head.sha }}
# We don't want any tests to run for non-virtual device types on meta-balena PRs, as we don't have enough hardware
# to sustain that amount of testing
test_matrix: '{}'