mirror of
https://github.com/klutchell/unbound-docker.git
synced 2026-10-15 16:02:46 +00:00
See: https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#standard-github-hosted-runners-for-public-repositories Signed-off-by: Kyle Harding <kyle@balena.io>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Flowzone
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, closed]
|
|
branches: [main, master]
|
|
pull_request_target:
|
|
types: [opened, synchronize, closed]
|
|
branches: [main, master]
|
|
push:
|
|
tags:
|
|
- '*.*.*'
|
|
|
|
jobs:
|
|
flowzone:
|
|
name: Flowzone
|
|
uses: product-os/flowzone/.github/workflows/flowzone.yml@2cecd5a352fb5d5258b9a7350a0310c9c760f34f # v19.6.2
|
|
# prevent duplicate workflow executions for pull_request and pull_request_target
|
|
if: |
|
|
(
|
|
github.event.pull_request.head.repo.full_name == github.repository &&
|
|
github.event_name == 'pull_request'
|
|
) || (
|
|
github.event.pull_request.head.repo.full_name != github.repository &&
|
|
github.event_name == 'pull_request_target'
|
|
) || (
|
|
github.event_name == 'push'
|
|
)
|
|
secrets:
|
|
FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }}
|
|
DOCKERHUB_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
|
|
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_REGISTRY_PASS }}
|
|
with:
|
|
disable_versioning: true
|
|
docker_images: |
|
|
ghcr.io/klutchell/unbound,
|
|
klutchell/unbound
|
|
toggle_auto_merge: false
|
|
docker_runs_on: >
|
|
{
|
|
"linux/amd64": ["ubuntu-24.04"],
|
|
"linux/arm64": ["ubuntu-24.04-arm"],
|
|
"linux/arm/v7": ["ubuntu-24.04-arm"],
|
|
"linux/arm/v6": ["ubuntu-24.04-arm"]
|
|
}
|