|
|
@ -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: |
|
|
|