chore: explicitly separate testing and stable builds

This commit is contained in:
Tulili 2023-09-24 15:08:30 -03:00 committed by GitHub
parent 98ecca4670
commit 913c926ae9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 2 deletions

View file

@ -1,6 +1,16 @@
name: build-testing
on:
push:
branches: ['testing']
branches-ignore: ['main']
pull_request:
branches: ['testing']
branches-ignore: ['main']
merge_group:
branches: ['testing']
branches-ignore: ['main']
schedule:
- cron: '0 5 * * *' # 5 am everyday
workflow_dispatch:
env:
IMAGE_NAME: bling-testing

View file

@ -1,10 +1,14 @@
name: build-stable
on:
pull_request:
merge_group:
branches: ['main']
branches-ignore: ['testing']
merge_group:
branches: ['main']
branches-ignore: ['testing']
schedule:
- cron: '0 5 * * *' # 5 am everyday
workflow_dispatch:
workflow_dispatch:
env:
IMAGE_NAME: bling
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}