only update docker cache from master

This commit is contained in:
Adeeb Shihadeh 2020-06-29 10:52:33 -07:00
parent 7f6df092ef
commit 441849564d
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ jobs:
run: |
$RUN "MSGQ=1 python -m unittest discover ."
- name: Push to dockerhub
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/cereal'
run: |
docker login -u wmelching -p ${{ secrets.COMMA_DOCKERHUB_TOKEN}}
docker tag cereal docker.io/commaai/cereal:latest