diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4e22902 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,12 @@ +# Version control and editor files +.git +.github +.idea +.vscode +.zed + +# Local build output and runtime files +bin +*.exe* +*.log +data/uploads diff --git a/publish.ps1 b/publish.ps1 index 86ec57b..8b2aebf 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -9,8 +9,7 @@ if ($confrim -ne "y") { exit 0 } -docker build -t repo.lanhuip.com/lanhu/platform:latest . -docker build -t repo.lanhuip.com/lanhu/platform:$($args[0]) . +docker build -t repo.lanhuip.com/lanhu/platform:latest -t repo.lanhuip.com/lanhu/platform:$($args[0]) . docker push repo.lanhuip.com/lanhu/platform:latest docker push repo.lanhuip.com/lanhu/platform:$($args[0])