mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
clean before building for images
This commit is contained in:
parent
7a13414853
commit
508cfd284f
@ -7,6 +7,8 @@ echo -e "\n# Building API"
|
|||||||
|
|
||||||
echo -e "\nBuilding app"
|
echo -e "\nBuilding app"
|
||||||
echo -e ".NET Core version $(dotnet --version)"
|
echo -e ".NET Core version $(dotnet --version)"
|
||||||
|
dotnet clean $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||||
|
dotnet clean $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||||
dotnet publish $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
dotnet publish $DIR/Api.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Api
|
||||||
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
dotnet publish $DIR/../Jobs/Jobs.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish/Jobs
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ echo -e "\n# Building Identity"
|
|||||||
|
|
||||||
echo -e "\nBuilding app"
|
echo -e "\nBuilding app"
|
||||||
echo -e ".NET Core version $(dotnet --version)"
|
echo -e ".NET Core version $(dotnet --version)"
|
||||||
|
dotnet clean $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||||
dotnet publish $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
dotnet publish $DIR/Identity.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
echo -e "\nBuilding docker image"
|
||||||
|
@ -7,6 +7,7 @@ echo -e "\n# Building Server"
|
|||||||
|
|
||||||
echo -e "\nBuilding app"
|
echo -e "\nBuilding app"
|
||||||
echo -e ".NET Core version $(dotnet --version)"
|
echo -e ".NET Core version $(dotnet --version)"
|
||||||
|
dotnet clean $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||||
dotnet publish $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
dotnet publish $DIR/Server.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
echo -e "\nBuilding docker image"
|
||||||
|
@ -7,6 +7,7 @@ echo -e "\n# Building Setup"
|
|||||||
|
|
||||||
echo -e "\nBuilding app"
|
echo -e "\nBuilding app"
|
||||||
echo -e ".NET Core version $(dotnet --version)"
|
echo -e ".NET Core version $(dotnet --version)"
|
||||||
|
dotnet clean $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||||
dotnet publish $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
dotnet publish $DIR/Setup.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
echo -e "\nBuilding docker image"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user