CI: use openwrt official tools container by default
[openwrt/openwrt.git] / .github / workflows / push-containers.yml
index cc13cda5725e9be7ed424580a33a005fb7513486..bad39c2fc2c9b35985ffccc98a75576dfc8571dd 100644 (file)
@@ -18,6 +18,7 @@ concurrency:
 jobs:
   build-linux-buildbot:
     name: Build tools with buildbot container
 jobs:
   build-linux-buildbot:
     name: Build tools with buildbot container
+    if: ${{ github.repository_owner  == 'openwrt' }}
     uses: ./.github/workflows/build-tools.yml
     with:
       generate_prebuilt_artifacts: true
     uses: ./.github/workflows/build-tools.yml
     with:
       generate_prebuilt_artifacts: true
@@ -25,6 +26,7 @@ jobs:
   push-tools-container:
     needs: build-linux-buildbot
     name: Push prebuilt tools container
   push-tools-container:
     needs: build-linux-buildbot
     name: Push prebuilt tools container
+    if: ${{ github.repository_owner  == 'openwrt' }}
     runs-on: ubuntu-latest
 
     permissions:
     runs-on: ubuntu-latest
 
     permissions: