Use full name for docker caching

pull/1049/head
Willem Melching 5 years ago
parent 0fb9971728
commit 118198605f
  1. 4
      .github/workflows/test.yaml

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

Loading…
Cancel
Save