Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2021-07-15 13:55:52 +12:00
commit a916b135a0
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
2 changed files with 45 additions and 10 deletions

45
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: Build Docker image
on:
workflow_dispatch:
push:
branches:
- current
paths:
- requirements.txt
- Dockerfile
- .github/workflows/docker.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout source code
uses: actions/checkout@v2.3.4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.5.1
-
name: Login to DockerHub
uses: docker/login-action@v1.10.0
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2.6.1
with:
context: .
push: true
tags: |
esphome/esphome-docs:latest
ghcr.io/esphome/esphome-docs:latest
cache-from: ghcr.io/esphome/esphome-docs:latest

View File

@ -433,16 +433,6 @@ functions for this.
See :ref:`display-printf` for learning about how to use formatting in log strings.
.. note::
On ESP8266s you need to disable storing strings in flash to use logging in custom code.
.. code-block:: yaml
logger:
level: DEBUG
esp8266_store_log_strings_in_flash: False
See Also
--------