Skip to content

Commit 9686d0c

Browse files
committed
ensure preview/build.sh is still called
1 parent b4533b6 commit 9686d0c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

air_gapped/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ git clone --reference ~/.git-references/built-docs.git --dissociate \
2323
GIT_DIR=air_gapped/work/target_repo.git git fetch
2424

2525
# Build the images
26-
DOCKER_BUILDKIT=1 docker build -t "$AIR_GAPPED" -f air_gapped/Dockerfile .
26+
source preview/build.sh
27+
DOCKER_BUILDKIT=1 docker build -t $AIR_GAPPED -f air_gapped/Dockerfile .

air_gapped/build_bk.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
# Build the docker image for the air gapped docs.
44

55
set -eo pipefail
6-
7-
export AIR_GAPPED=docker.elastic.co/docs-private/bk_air_gapped:latest
8-
96
cd $(git rev-parse --show-toplevel)
107

118
if [[ ! -d /opt/git-mirrors/built-docs.git ]]; then
@@ -22,4 +19,5 @@ git clone --reference /opt/git-mirrors/built-docs.git --dissociate \
2219
GIT_DIR=air_gapped/work/target_repo.git git fetch
2320

2421
# Build the images
22+
source preview/build.sh
2523
DOCKER_BUILDKIT=1 docker build -t "$AIR_GAPPED" -f air_gapped/Dockerfile .

0 commit comments

Comments
 (0)