CI: use openwrt official tools container by default
[openwrt/staging/jow.git] / .github / workflows / build.yml
index 62a4441a3b7b6058989747ee22b38eb0d23f9716..19d3c23403e522bafb3d51fce9d37fec3457865c 100644 (file)
@@ -22,6 +22,9 @@ on:
         type: boolean
       build_all_boards:
         type: boolean
+      use_openwrt_container:
+        type: boolean
+        default: true
 
 permissions:
   contents: read
@@ -44,6 +47,11 @@ jobs:
         run: |
           OWNER_LC=$(echo "${{ github.repository_owner }}" \
             | tr '[:upper:]' '[:lower:]')
+
+          if [ ${{ inputs.use_openwrt_container }} == "true" ]; then
+            OWNER_LC=openwrt
+          fi
+
           echo "owner_lc=$OWNER_LC" >> $GITHUB_OUTPUT
 
       - name: Generate ccache hash