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)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 4 Dec 2022 15:28:23 +0000 (16:28 +0100)
commit40536320ef2f30e3872ba2e1748efc3c8cb0e06d
tree31913c37966b574af23f1bb5dce6c0910ecc4ed3
parent5bc5df10d813b26b0ce5a816cfcfc501320229c6
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