mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-26 12:28:15 +03:00
Recursively clone repo before applying patches, otherwise they might fail
This commit is contained in:
parent
db013ca896
commit
9b68e33580
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ USER node
|
|||
# Using https://github.com/bitwarden/web/releases/tag/v2.18.1
|
||||
ARG VAULT_VERSION=9326a9a4a723d7e57943776d7b356132f40aeec2
|
||||
|
||||
RUN git clone https://github.com/bitwarden/web.git /vault
|
||||
RUN git clone --recurse-submodules https://github.com/bitwarden/web.git /vault
|
||||
WORKDIR /vault
|
||||
|
||||
RUN git checkout "$VAULT_VERSION"
|
||||
|
|
|
@ -22,7 +22,7 @@ mkdir -p "$OUTPUT_FOLDER"
|
|||
|
||||
# If this is the first time, clone the project
|
||||
if [ ! -d "$VAULT_FOLDER" ]; then
|
||||
git clone --recursive https://github.com/bitwarden/web.git "$VAULT_FOLDER"
|
||||
git clone --recurse-submodules https://github.com/bitwarden/web.git "$VAULT_FOLDER"
|
||||
fi
|
||||
|
||||
cd $VAULT_FOLDER
|
||||
|
|
Loading…
Reference in a new issue