CI: build: add support for per branch tools container
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 27 Nov 2022 18:53:08 +0000 (19:53 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 16:37:01 +0000 (17:37 +0100)
commit05c3ee608fdef99f54431cfb6eb53ef7936137c5
tree00ab708e8b44dab3d88c341de1b74a97c1208d04
parentf3cb0cfdf9747ae525b5aec9775416b34d2dffe9
CI: build: add support for per branch tools container

Add support in build shared workflow for per branch tools container.

With pr the target branch is parsed and the right container is used.

To use the stable container for local testing the branch needs to have
the prefix openwrt-[0-9][0-9].[0-9][0-9]- (example openwrt-21.02-fixup)

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit abe8a4824210966e0899724bf4561a89216a1e36)
.github/workflows/build.yml
.github/workflows/check-kernel-patches.yml