balena-supervisor/.github/workflows/flowzone.yml
2022-09-14 21:03:37 +01:00

46 lines
1.3 KiB
YAML

name: Flowzone
on:
pull_request:
types: [opened, synchronize, closed]
branches:
- "main"
- "master"
jobs:
flowzone-staging:
name: balena-staging
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
secrets:
FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
BALENA_API_KEY: ${{ secrets.BALENA_STAGING_TOKEN }}
with:
balena_environment: balena-staging.com
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor
job_name: balena-staging
flowzone:
name: balena-cloud
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
secrets:
FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
BALENA_API_KEY: ${{ secrets.BALENA_TOKEN }}
with:
balena_environment: balena-cloud.com
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor
job_name: balena-cloud