You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
332 B
18 lines
332 B
echo off
|
|
echo "Press B to build images, P to push to registry, any other key to cancel"
|
|
set /p op= :
|
|
if "%op%"=="B" goto build
|
|
if "%op%"=="P" goto push
|
|
exit
|
|
|
|
:build
|
|
docker rmi laozhangisphi/apkimg
|
|
docker build -f "Dockerfile" --force-rm -t laozhangisphi/apkimg .
|
|
goto end
|
|
|
|
:push
|
|
docker push laozhangisphi/apkimg
|
|
goto end
|
|
|
|
:end
|
|
pause |