ffinfo commented on a change in pull request #4483: [AIRFLOW-3673] Add official 
dockerfile
URL: https://github.com/apache/airflow/pull/4483#discussion_r247214870
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -37,13 +37,19 @@ env:
 stages:
   - flake8
   - test
+  - docker-push
 
 jobs:
   include:
     - stage: flake8
       name: Flake8
       script: docker-compose --log-level ERROR -f 
scripts/ci/docker-compose.yml run airflow-testing /app/scripts/ci/run-ci.sh
       env: TOX_ENV=flake8
+    - name: docker-push
+      # require the branch name to be master (note for PRs this is the base 
branch name)
+      if: branch = master
+      script: docker build -t apache/airflow:master -t 
apache/airflow:$TRAVIS_COMMIT . && docker push apache/airflow:$TRAVIS_COMMIT && 
docker push apache/airflow:master
 
 Review comment:
   You do realise that this part of the code is already gone? The building will 
happen by docker hub itself once this is merged.

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


With regards,
Apache Git Services

Reply via email to