diff --git a/.github/workflows/docker_builder.yml b/.github/workflows/docker_builder.yml index 2832c63d05..db779e99b6 100644 --- a/.github/workflows/docker_builder.yml +++ b/.github/workflows/docker_builder.yml @@ -50,10 +50,15 @@ jobs: env: DOCKER_TAG: ${{ env.DOCKER_REGISTRY }}/${{ steps.fix_slashes.outputs.container_name }} run: | + set -x python3 -m pip install pyyaml TRT_VERSION=$(python3 -c "import versions; versions.tensorrt_version()") echo "TRT VERSION = ${TRT_VERSION}" - + df -kh . + docker system df + docker container prune -f + docker image prune -f + docker system df DOCKER_BUILDKIT=1 docker build --build-arg TENSORRT_VERSION=$TRT_VERSION -f docker/Dockerfile --tag $DOCKER_TAG . - name: Push Docker image