From 8166d0de79e89d06190b2f30553696dc875c8f39 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 15 Jul 2020 21:42:12 +0200 Subject: [PATCH] Remove i386 arch See also https://github.com/esphome/esphome-docker-base/issues/5 --- .github/workflows/release-dev.yml | 10 ++++------ .github/workflows/release.yml | 13 +++++-------- docker/Dockerfile | 2 +- docker/Dockerfile.dev | 2 +- docker/Dockerfile.lint | 2 +- 5 files changed, 12 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index 59beeea212..57ec71845b 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -176,7 +176,7 @@ jobs: needs: [lint-clang-format, lint-clang-tidy, lint-python, test, pytest] strategy: matrix: - arch: [amd64, i386, armv7, aarch64] + arch: [amd64, armv7, aarch64] # Hassio dev image doesn't use esphome/esphome-hassio-$arch and uses base directly build_type: ["docker"] steps: @@ -187,7 +187,7 @@ jobs: echo "::set-env name=TAG::${TAG}" - name: Set up env variables run: | - base_version="2.3.3" + base_version="2.3.4" if [[ "${{ matrix.build_type }}" == "hassio" ]]; then build_from="esphome/esphome-hassio-base-${{ matrix.arch }}:${base_version}" @@ -252,13 +252,11 @@ jobs: docker manifest create esphome/esphome:${TAG} \ esphome/esphome-aarch64:${TAG} \ esphome/esphome-amd64:${TAG} \ - esphome/esphome-armv7:${TAG} \ - esphome/esphome-i386:${TAG} + esphome/esphome-armv7:${TAG} docker manifest push esphome/esphome:${TAG} docker manifest create esphome/esphome:dev \ esphome/esphome-aarch64:${TAG} \ esphome/esphome-amd64:${TAG} \ - esphome/esphome-armv7:${TAG} \ - esphome/esphome-i386:${TAG} + esphome/esphome-armv7:${TAG} docker manifest push esphome/esphome:dev diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84610156a1..8196d39fbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -196,7 +196,7 @@ jobs: needs: [lint-clang-format, lint-clang-tidy, lint-python, test, pytest] strategy: matrix: - arch: [amd64, i386, armv7, aarch64] + arch: [amd64, armv7, aarch64] build_type: ["hassio", "docker"] steps: - uses: actions/checkout@v2 @@ -206,7 +206,7 @@ jobs: echo "::set-env name=TAG::${TAG}" - name: Set up env variables run: | - base_version="2.3.3" + base_version="2.3.4" if [[ "${{ matrix.build_type }}" == "hassio" ]]; then build_from="esphome/esphome-hassio-base-${{ matrix.arch }}:${base_version}" @@ -280,8 +280,7 @@ jobs: docker manifest create esphome/esphome:${TAG} \ esphome/esphome-aarch64:${TAG} \ esphome/esphome-amd64:${TAG} \ - esphome/esphome-armv7:${TAG} \ - esphome/esphome-i386:${TAG} + esphome/esphome-armv7:${TAG} docker manifest push esphome/esphome:${TAG} - name: Publish docker beta tag @@ -289,8 +288,7 @@ jobs: docker manifest create esphome/esphome:beta \ esphome/esphome-aarch64:${TAG} \ esphome/esphome-amd64:${TAG} \ - esphome/esphome-armv7:${TAG} \ - esphome/esphome-i386:${TAG} + esphome/esphome-armv7:${TAG} docker manifest push esphome/esphome:beta - name: Publish docker latest tag @@ -299,6 +297,5 @@ jobs: docker manifest create esphome/esphome:latest \ esphome/esphome-aarch64:${TAG} \ esphome/esphome-amd64:${TAG} \ - esphome/esphome-armv7:${TAG} \ - esphome/esphome-i386:${TAG} + esphome/esphome-armv7:${TAG} docker manifest push esphome/esphome:latest diff --git a/docker/Dockerfile b/docker/Dockerfile index d0b4f2ffa1..1a8382aa65 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=esphome/esphome-base-amd64:2.3.3 +ARG BUILD_FROM=esphome/esphome-base-amd64:2.3.4 FROM ${BUILD_FROM} # First install requirements to leverage caching when requirements don't change diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index b6a0f8f90b..9e7ddc4b53 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM esphome/esphome-base-amd64:2.3.3 +FROM esphome/esphome-base-amd64:2.3.4 COPY . . diff --git a/docker/Dockerfile.lint b/docker/Dockerfile.lint index bc7caa7e97..fd1a3c5330 100644 --- a/docker/Dockerfile.lint +++ b/docker/Dockerfile.lint @@ -1,4 +1,4 @@ -FROM esphome/esphome-lint-base:2.3.3 +FROM esphome/esphome-lint-base:2.3.4 COPY requirements.txt requirements_test.txt / RUN pip3 install --no-cache-dir -r /requirements.txt -r /requirements_test.txt