Use full name for docker caching

pull/1049/head
Willem Melching 2020-02-03 14:12:35 -08:00
parent 0fb9971728
commit 118198605f
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ jobs:
git submodule update --init
- run: |
docker pull $(grep -ioP '(?<=^from)\s+\S+' Dockerfile.openpilot) || true
docker pull commaai/openpilot:latest || true
docker pull docker.io/commaai/openpilot:latest || true
docker build --cache-from commaai/openpilot:latest -t tmppilot -f Dockerfile.openpilot .
docker build --cache-from docker.io/commaai/openpilot:latest -t tmppilot -f Dockerfile.openpilot .
docker save tmppilot:latest | gzip > tmppilot.tar.gz
- uses: actions/upload-artifact@v1
with: