mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
2024年 03月 09日 星期六 11:34:09 CST test by bot.
This commit is contained in:
parent
3105cf1c94
commit
44bfc1b5fc
@ -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 }} .
|
||||
|
||||
|
2
openwrt/lede/env/Dockerfile.openwrt-lede-env
vendored
2
openwrt/lede/env/Dockerfile.openwrt-lede-env
vendored
@ -30,6 +30,6 @@ RUN cd lede && \
|
||||
make download -j8
|
||||
|
||||
RUN cd lede && \
|
||||
make -j3
|
||||
make -j || make V=s
|
||||
|
||||
CMD ['bash']
|
||||
|
Loading…
Reference in New Issue
Block a user