use base docker container when building

old-commit-hash: 58f4f5aac4
commatwo_master
Willem Melching 5 years ago
parent c55e1f88b9
commit cdd7da10c4
  1. 5
      .github/workflows/test.yaml

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

Loading…
Cancel
Save