Commit 2c4cc36
multi-arch-test-build: add fallback if openwrt-version is not found
This might be a rare case, but it happened when I forked the packages
repository under my account, created a PR against the packages repository,
and then someone created a PR against my feature branch, which I had
submitted to the packages repository.
CI/CD was trying to look for target-featurebranch e.g.
aarch64-generic-MyFeatureBranch and thus it failed:
buildx failed with: ERROR: failed to build: failed to solve: ghcr.io/openwrt/sdk:aarch64_generic-MyFeatureBranch: failed to resolve source metadata for ghcr.io/openwrt/sdk:aarch64_generic-MyFeatureBranch: ghcr.io/openwrt/sdk:aarch64_generic-MyFeatureBranch: not found
If there isn't an openwrt-version match, fall back to building for the
OpenWrt master branch (snapshot builds).
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>1 parent 2d618fc commit 2c4cc36
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
0 commit comments