Skip to content

Commit

Permalink
Add batch script to build and push docker image to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
viepovsky committed Dec 8, 2023
1 parent 2fb7fdc commit 30f826f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-and-push-image.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off

set DOCKER_USERNAME=viepovsky
set IMAGE_NAME=city-walk
set TAG=latest

docker build . -t %DOCKER_USERNAME%/%IMAGE_NAME%:%TAG%

docker push %DOCKER_USERNAME%/%IMAGE_NAME%:%TAG%

0 comments on commit 30f826f

Please sign in to comment.