You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/16 12:12:29 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #8400: Less frequent dockerhub builds

potiuk commented on a change in pull request #8400: Less frequent dockerhub builds
URL: https://github.com/apache/airflow/pull/8400#discussion_r409506332
 
 

 ##########
 File path: scripts/ci/ci_build_dockerhub.sh
 ##########
 @@ -51,12 +51,12 @@ else
    echo "DOCKER_TAG=${DOCKER_TAG}"
 fi
 
-[[ ${DOCKER_TAG:=} =~ ${DEFAULT_BRANCH}-python([0-9.]*)(.*) ]] && export PYTHON_MAJOR_MINOR_VERSION=${BASH_REMATCH[1]}
+[[ ${DOCKER_TAG:=} =~ .*-python([0-9.]*)(.*) ]] && export PYTHON_MAJOR_MINOR_VERSION=${BASH_REMATCH[1]}
 
 Review comment:
   It was not needed. It's remnant from the old script and ${DEFAULT_BRANCH} was actually empty :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services