Skip to content

Commit

Permalink
! script bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ALERTua committed Sep 10, 2024
1 parent 8158afc commit bb125a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion script/deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set DOCKER_BUILDKIT=1
set DOCKER_REGISTRY=registry.alertua.duckdns.org
echo DOCKER_REGISTRY: %DOCKER_REGISTRY%

for %%I in ("%~dp0.") do set "IMAGE_NAME=%%~nxI"
for %%I in ("%~dp0..") do set "IMAGE_NAME=%%~nxI"
echo IMAGE_NAME: %IMAGE_NAME%

set IMAGE_TAG=latest
Expand Down
10 changes: 4 additions & 6 deletions script/deploy_remote.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

@echo off
pushd %~dp0
set DOCKER_HOST=tcp://docker:2375
set DOCKER_REMOTE=1
call deploy.cmd %*
where nircmd >nul 2>nul && nircmd beep 500 500
popd
set DOCKER_HOST=tcp://docker:2375
set DOCKER_REMOTE=1
call %~dp0\deploy.cmd %*
where nircmd >nul 2>nul && nircmd beep 500 500

0 comments on commit bb125a1

Please sign in to comment.