mirror of
https://github.com/bitwarden/server.git
synced 2024-11-23 12:25:16 +01:00
nodocker flag for build scripts
This commit is contained in:
parent
d0abd413ba
commit
9c90358aa1
@ -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
|
||||||
|
|
||||||
|
if [ "$1" != "nodocker" ]
|
||||||
|
then
|
||||||
echo -e "\nBuilding docker image"
|
echo -e "\nBuilding docker image"
|
||||||
docker --version
|
docker --version
|
||||||
docker build -t bitwarden/icons $DIR/.
|
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
|
||||||
|
|
||||||
|
if [ "$1" != "nodocker" ]
|
||||||
|
then
|
||||||
echo -e "\nBuilding docker image"
|
echo -e "\nBuilding docker image"
|
||||||
docker --version
|
docker --version
|
||||||
docker build -t bitwarden/notifications $DIR/.
|
docker build -t bitwarden/notifications $DIR/.
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user