Skip to content

Commit 3dc3b73

Browse files
committed
Fix make-docker-images.sh
1 parent aae4ff5 commit 3dc3b73

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

hack/make-docker-images.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,17 @@ while IFS= read -d $'\0' -r dir; do
3838
cd "${builddir}"
3939
log "Building: ${image}"
4040
docker build -t "${image}" .
41-
docker build -t "${image}-native-grpc-probes" . --target without-grpc-health-probe-bin
4241

4342
log "Pushing: ${image}"
4443
docker push "${image}"
45-
docker push "${image}-native-grpc-probes"
44+
45+
if [ $svcname != "frontend" ] && [ $svcname != "loadgenerator" ]
46+
then
47+
log "Building: ${image}-native-grpc-probes"
48+
docker build -t "${image}-native-grpc-probes" . --target without-grpc-health-probe-bin
49+
log "Pushing: ${image}-native-grpc-probes"
50+
docker push "${image}-native-grpc-probes"
51+
fi
4652
)
4753
done < <(find "${SCRIPTDIR}/../src" -mindepth 1 -maxdepth 1 -type d -print0)
4854

0 commit comments

Comments
 (0)