[openwrt/openwrt] CI: use toolchain container for label workflow

LEDE Commits lede-commits at lists.infradead.org
Sat May 27 18:47:38 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3a1cb63336ec5a6e4d8d7cea142925751e1321d5

commit 3a1cb63336ec5a6e4d8d7cea142925751e1321d5
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun May 28 03:44:01 2023 +0200

    CI: use toolchain container for label workflow
    
    Use toolchain container for label workflow to skip downloading external
    toolchain from openwrt servers.
    
    Fixes: 0fe5776f4a79 ("CI: build: Add support to use container included external toolchain")
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 66fd0aa6efac3690fdc46c94a4657faacf3070dd)
---
 .github/workflows/label-kernel.yml | 1 +
 .github/workflows/label-target.yml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.github/workflows/label-kernel.yml b/.github/workflows/label-kernel.yml
index e5ca945a64..67faaddfcd 100644
--- a/.github/workflows/label-kernel.yml
+++ b/.github/workflows/label-kernel.yml
@@ -32,6 +32,7 @@ jobs:
       packages: read
     uses: ./.github/workflows/build.yml
     with:
+      container_name: toolchain
       target: ${{ needs.set_target.outputs.target }}
       subtarget: ${{ needs.set_target.outputs.subtarget }}
       build_kernel: true
diff --git a/.github/workflows/label-target.yml b/.github/workflows/label-target.yml
index 157e8caaad..78aea28b10 100644
--- a/.github/workflows/label-target.yml
+++ b/.github/workflows/label-target.yml
@@ -32,6 +32,7 @@ jobs:
       packages: read
     uses: ./.github/workflows/build.yml
     with:
+      container_name: toolchain
       target: ${{ needs.set_target.outputs.target }}
       subtarget: ${{ needs.set_target.outputs.subtarget }}
       build_full: true




More information about the lede-commits mailing list