balena-supervisor/.github/workflows/flowzone.yml
Christina Ying Wang aad0d1f45e Clarify Flowzone job names
Signed-off-by: Christina Ying Wang <christina@balena.io>
2022-09-14 13:21:03 -03: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
protect_branch: false
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor
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
protect_branch: false
balena_slugs: |
balena_os/aarch64-supervisor,
balena_os/amd64-supervisor,
balena_os/armv7hf-supervisor,
balena_os/i386-supervisor,
balena_os/rpi-supervisor