This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit ffb3ee06171b72a14ef672d7999b3d80a316ae28
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu May 19 08:47:47 2022 +0200

    Fix python version used for cache preparaation (#23785)
    
    Cache preparation on CI used default (Python 3.7) version of the
    image. It had an influence on time of "full build needed" only and
    for users who wanted to build breeze image for Python version
    different than default Python 3.7.
    
    It had no big influence on "main" builds" because in main we are
    build images with "upgrade-to-newer-dependencies" which takes
    longer anyway.
    
    (cherry picked from commit 46abf376fbecc59b37db674fdf2a865d4c28a722)
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e8dfb17634..4ee55a88d7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1684,7 +1684,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
           --prepare-buildx-cache
           --platform linux/amd64,linux/arm64
         env:
-          PYTHON_MAJOR_MINOR_VERSION: ${{ 
needs.build-info.outputs.defaultPythonVersion }}
+          PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
       - name: >
           Pull CI image for PROD build
           ${{ env.PYTHON_MAJOR_MINOR_VERSION }}:${{ 
env.IMAGE_TAG_FOR_THE_BUILD }}"

Reply via email to