Drop redundant faust-cchardet from base image #431
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build base images | |
| on: | |
| pull_request: | |
| branches: ["master"] | |
| push: | |
| branches: ["master"] | |
| paths: | |
| - ".github/workflows/builder.yml" | |
| - "Dockerfile" | |
| - "patches/**" | |
| - "requirements.txt" | |
| - "rootfs/**" | |
| release: | |
| types: ["published"] | |
| env: | |
| ARCHITECTURES: '["amd64", "aarch64"]' | |
| BUILD_TYPE: generic | |
| IMAGE_NAME: homeassistant-base | |
| permissions: | |
| contents: read | |
| jobs: | |
| init: | |
| name: Initialize build | |
| runs-on: ubuntu-latest | |
| outputs: | |
| version: ${{ steps.version.outputs.version }} | |
| matrix: ${{ steps.matrix.outputs.matrix }} | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get version | |
| id: version | |
| uses: home-assistant/actions/helpers/version@master | |
| with: | |
| type: ${{ env.BUILD_TYPE }} | |
| - name: Get build matrix | |
| id: matrix | |
| uses: home-assistant/builder/actions/prepare-multi-arch-matrix@4de35182ce1e329181bffcbcc84d33db5e2c7e10 # 2026.06.0 | |
| with: | |
| architectures: ${{ env.ARCHITECTURES }} | |
| image-name: ${{ env.IMAGE_NAME }} | |
| build: | |
| name: Build ${{ matrix.arch }} base image | |
| needs: init | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: read | |
| id-token: write | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: ${{ fromJSON(needs.init.outputs.matrix) }} | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Check if requirements or workflow has changed | |
| uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47 | |
| if: github.event_name != 'release' | |
| id: wheels_deps_changed | |
| with: | |
| files: | | |
| requirements.txt | |
| .github/workflows/builder.yml | |
| - name: Build wheels cp314 | |
| uses: home-assistant/wheels@2026.07.0 | |
| if: github.event_name == 'release' || steps.wheels_deps_changed.outputs.any_changed == 'true' | |
| with: | |
| tag: musllinux_1_2 | |
| abi: cp314 | |
| arch: ${{ matrix.arch }} | |
| wheels-key: ${{ secrets.WHEELS_KEY }} | |
| apk: "mariadb-dev;postgresql-dev;libffi-dev" | |
| requirements: "requirements.txt" | |
| - name: Build base image | |
| uses: home-assistant/builder/actions/build-image@4de35182ce1e329181bffcbcc84d33db5e2c7e10 # 2026.06.0 | |
| with: | |
| arch: ${{ matrix.arch }} | |
| container-registry-password: ${{ secrets.GITHUB_TOKEN }} | |
| cosign-base-identity: 'https://github.com/home-assistant/docker-base/.*' | |
| cosign-base-verify: ghcr.io/home-assistant/base-python:3.14-alpine3.24 | |
| image: ${{ matrix.image }} | |
| image-tags: | | |
| ${{ needs.init.outputs.version }} | |
| latest | |
| push: ${{ github.event_name == 'release' }} | |
| version: ${{ needs.init.outputs.version }} | |
| manifest: | |
| name: Publish multi-arch manifest | |
| needs: [init, build] | |
| if: github.event_name == 'release' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| packages: write | |
| steps: | |
| - name: Publish multi-arch manifest | |
| uses: home-assistant/builder/actions/publish-multi-arch-manifest@4de35182ce1e329181bffcbcc84d33db5e2c7e10 # 2026.06.0 | |
| with: | |
| architectures: ${{ env.ARCHITECTURES }} | |
| container-registry-password: ${{ secrets.GITHUB_TOKEN }} | |
| image-name: ${{ env.IMAGE_NAME }} | |
| image-tags: | | |
| ${{ needs.init.outputs.version }} | |
| latest |