Use dockerhub
parent
fe250d6a9e
commit
5ea95c3d87
|
@ -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 docker.pkg.github.com/commaai/openpilot/openpilot:latest || true
|
docker pull commaai/openpilot:latest || true
|
||||||
|
|
||||||
docker build --cache-from docker.pkg.github.com/commaai/openpilot/openpilot:latest -t tmppilot -f Dockerfile.openpilot .
|
docker build --cache-from 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…
Reference in New Issue