Skip to content

Commit 9171c3a

Browse files
committed
fix(store): abort build in case of any error
1 parent 22b8346 commit 9171c3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

store/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ build: check-docker
1919
docker build -t deis/store-base:$(BUILD_TAG) base/
2020
$(foreach I, $(TEMPLATE_IMAGES), \
2121
sed -e "s/#FROM is generated dynamically by the Makefile/FROM deis\/store-base:${BUILD_TAG}/" $(I)/Dockerfile.template > $(I)/Dockerfile ; \
22-
docker build -t deis/store-$(I):$(BUILD_TAG) $(I)/ ; \
22+
docker build -t deis/store-$(I):$(BUILD_TAG) $(I)/ || exit 1; \
2323
rm $(I)/Dockerfile ; \
2424
)
2525

0 commit comments

Comments
 (0)