CI: simulator disable pull to save local space (#29517)

we don't need to pull since the image is different most of the time
old-commit-hash: ec5e3bef956e3f6f2ba7bc1f1eb6e75b0563b987
This commit is contained in:
Justin Newberry
2023-08-21 20:01:52 -07:00
committed by GitHub
parent 8a1e4d8575
commit e022ffe528
-1
View File
@@ -64,7 +64,6 @@ jobs:
run: eval "$BUILD_CL"
- name: Build simulator image
run: |
docker pull $DOCKER_REGISTRY/$IMAGE_NAME:latest
DOCKER_BUILDKIT=1 docker build --build-arg BUILDKIT_INLINE_CACHE=1 --cache-from $DOCKER_REGISTRY/$IMAGE_NAME:latest -t $DOCKER_REGISTRY/$IMAGE_NAME:latest -f tools/sim/Dockerfile.sim .
- name: Push to container registry
if: github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot'