2024年 03月 09日 星期六 11:34:09 CST test by bot.

This commit is contained in:
licsber 2024-03-09 11:34:09 +08:00
parent 3105cf1c94
commit 44bfc1b5fc
2 changed files with 3 additions and 5 deletions

View File

@ -35,10 +35,8 @@ jobs:
$TAG = "${{ env.TAG }}"
echo "image=$IMAGE" >> $GITHUB_OUTPUT
SETLOCAL ENABLEDELAYEDEXPANSION
$DOCKERFILE = "${{ env.DOCKERFILE }}"
FOR %%I IN ("%DOCKERFILE%") DO SET "DOCKERDIR=%%~dpI"
CD /D "!DOCKERDIR!"
$DOCKERDIR = Split-Path -Parent "${{ env.DOCKERFILE }}"
Set-Location -Path $DOCKERDIR
docker build -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} .

View File

@ -30,6 +30,6 @@ RUN cd lede && \
make download -j8
RUN cd lede && \
make -j3
make -j || make V=s
CMD ['bash']