Add switch for LTO in Docker image

This commit is contained in:
Ilya Fedin
2022-11-03 23:47:28 +04:00
committed by John Preston
parent 0b2b3416d7
commit da2f1b3d97
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
run: |
cd Telegram/build/docker/centos_env
poetry install
DEBUG= poetry run gen_dockerfile | docker buildx build -t $IMAGE_TAG -
DEBUG= LTO= poetry run gen_dockerfile | docker buildx build -t $IMAGE_TAG -
- name: Push the Docker image.
if: ${{ github.ref_name == github.event.repository.default_branch }}