mirror of
https://github.com/bitwarden/server
synced 2025-12-23 11:43:23 +00:00
nodocker flag for build scripts
This commit is contained in:
@@ -14,6 +14,9 @@ dotnet clean $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
|
|||||||
echo "Publish"
|
echo "Publish"
|
||||||
dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
|
dotnet publish $DIR/Icons.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
if [ "$1" != "nodocker" ]
|
||||||
docker --version
|
then
|
||||||
docker build -t bitwarden/icons $DIR/.
|
echo -e "\nBuilding docker image"
|
||||||
|
docker --version
|
||||||
|
docker build -t bitwarden/icons $DIR/.
|
||||||
|
fi
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ dotnet clean $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish
|
|||||||
echo "Publish"
|
echo "Publish"
|
||||||
dotnet publish $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish
|
dotnet publish $DIR/Notifications.csproj -c "Release" -o $DIR/obj/Docker/publish
|
||||||
|
|
||||||
echo -e "\nBuilding docker image"
|
if [ "$1" != "nodocker" ]
|
||||||
docker --version
|
then
|
||||||
docker build -t bitwarden/notifications $DIR/.
|
echo -e "\nBuilding docker image"
|
||||||
|
docker --version
|
||||||
|
docker build -t bitwarden/notifications $DIR/.
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user