| # Copyright (c) 2020-2021 Project CHIP Authors |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| - "integrations/docker/images/**" |
| - "integrations/docker/images/**" |
| name: Build Docker CHIP Build images |
| if: github.actor != 'restyled-io[bot]' |
| # NOTE: imx image requires too much space for GitHub-hosted runners. It fails with: |
| # ApplyLayer exit status 1 stdout: stderr: write /opt/fsl-imx-xwayland/5.15-kirkstone/sysroots/armv8a-poky-linux/opt/ltp/testcases/bin/fanotify15: no space left on device |
| # NOTE: vscode image consumes ~52 GB disk space but GitHub-hosted runners provide ~10 GB free disk space(https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources) |
| uses: actions/checkout@v3 |
| - name: Build All images using project bash script |
| cd integrations/docker/images/chip-build${{ matrix.img }} |