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

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

commit 70036e7d7f57d641efb632077ee3969b504a9999
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Dec 23 15:46:35 2020 +0100

    Default python version is used when building image
    
    For image build the python version is passed via
    PYTHON_MAJOR_MINOR_VERSION but there is a part of the build
    (preparing airflow package) that uses python installed on host.
    
    This is fine for Master/2.0 to use same version as the image
    but it should be unified (and in 1.10 when trying to build 2.7
    image it would fail).
    
    (cherry picked from commit ba1111a6cc3906480394b22536d5adf8a3846c82)
---
 .github/workflows/build-images-workflow-run.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-images-workflow-run.yml 
b/.github/workflows/build-images-workflow-run.yml
index 93b2176..ee9c48c 100644
--- a/.github/workflows/build-images-workflow-run.yml
+++ b/.github/workflows/build-images-workflow-run.yml
@@ -327,7 +327,7 @@ jobs:
       - name: "Setup python"
         uses: actions/setup-python@v2
         with:
-          python-version: ${{  matrix.python-version }}
+          python-version: 3.6
         if: steps.defaults.outputs.proceed == 'true'
       - name: >
           Override "scripts/ci" with the "${{ 
needs.cancel-workflow-runs.outputs.targetBranch }}" branch

Reply via email to