This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new bcaa9c2ac7 Disable ARM builds on non-self-hosted runners (#31463)
bcaa9c2ac7 is described below
commit bcaa9c2ac720922ad6733081c321744504a9ca8e
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon May 22 21:00:21 2023 +0200
Disable ARM builds on non-self-hosted runners (#31463)
---
.github/workflows/build-images.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build-images.yml
b/.github/workflows/build-images.yml
index 76073bbe90..a13aac6721 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -237,7 +237,8 @@ jobs:
if: |
needs.build-info.outputs.image-build == 'true' &&
needs.build-info.outputs.upgrade-to-newer-dependencies != 'false' &&
- github.event.pull_request.head.repo.full_name != 'apache/airflow'
+ github.event.pull_request.head.repo.full_name != 'apache/airflow' &&
+ needs.build-info.outputs.runs-on == 'self-hosted`
env:
DEFAULT_BRANCH: ${{ needs.build-info.outputs.default-branch }}
DEFAULT_CONSTRAINTS_BRANCH: ${{
needs.build-info.outputs.default-constraints-branch }}