mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
CI: remove redundant env variables in 'openpilot env setup' (#25721)
old-commit-hash: 1544734a540cf28d12df98038d7b9ecc48f7ffb9
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
name: 'openpilot env setup'
|
||||
|
||||
env:
|
||||
BASE_IMAGE: openpilot-base
|
||||
DOCKER_REGISTRY: ghcr.io/commaai
|
||||
BUILD: |
|
||||
docker pull $(grep -iohP '(?<=^from)\s+\S+' Dockerfile.openpilot_base) || true
|
||||
docker pull $DOCKER_REGISTRY/$BASE_IMAGE:latest || true
|
||||
docker build --cache-from $DOCKER_REGISTRY/$BASE_IMAGE:latest -t $DOCKER_REGISTRY/$BASE_IMAGE:latest -t $BASE_IMAGE:latest -f Dockerfile.openpilot_base .
|
||||
|
||||
inputs:
|
||||
save-cache:
|
||||
default: false
|
||||
@@ -42,4 +34,4 @@ runs:
|
||||
|
||||
# build our docker image
|
||||
- shell: bash
|
||||
run: eval "$BUILD"
|
||||
run: eval ${{ env.BUILD }}
|
||||
|
||||
Reference in New Issue
Block a user