mirror of
https://github.com/esphome/esphome.git
synced 2024-12-20 12:34:54 +01:00
3d56397e58
Some checks failed
CI for docker images / Build docker containers (push) Waiting to run
CI / Run script/ci-custom (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
---
|
|
name: CI for docker images
|
|
|
|
# Only run when docker paths change
|
|
|
|
on:
|
|
push:
|
|
branches: [dev, beta, release]
|
|
paths:
|
|
- "docker/**"
|
|
- ".github/workflows/ci-docker.yml"
|
|
- "requirements*.txt"
|
|
- "platformio.ini"
|
|
- "script/platformio_install_deps.py"
|
|
|
|
pull_request:
|
|
paths:
|
|
- "docker/**"
|
|
- ".github/workflows/ci-docker.yml"
|
|
- "requirements*.txt"
|
|
- "platformio.ini"
|
|
- "script/platformio_install_deps.py"
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
concurrency:
|
|
# yamllint disable-line rule:line-length
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check-docker:
|
|
name: Build docker containers
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
arch: [amd64, armv7, aarch64]
|
|
build_type: ["ha-addon", "docker", "lint"]
|
|
steps:
|
|
- uses: actions/checkout@v4.1.7
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5.3.0
|
|
with:
|
|
python-version: "3.9"
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3.8.0
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3.2.0
|
|
|
|
- name: Set TAG
|
|
run: |
|
|
echo "TAG=check" >> $GITHUB_ENV
|
|
|
|
- name: Run build
|
|
run: |
|
|
docker/build.py \
|
|
--tag "${TAG}" \
|
|
--arch "${{ matrix.arch }}" \
|
|
--build-type "${{ matrix.build_type }}" \
|
|
build
|