Skip to content

Commit 67326cf

Browse files
committed
Fail the job on Docker push error
1 parent 6288e8a commit 67326cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ upload-to-docker-hub-php-%:
7676
(test $(DOCKER_TAG)) && echo "Tagging images with \"${DOCKER_TAG}\"" || echo "You have to define environment variable DOCKER_TAG"
7777
test $(DOCKER_TAG)
7878

79+
set -e ; \
7980
for image in \
8081
"bref/${CPU_PREFIX}php-$*" "bref/${CPU_PREFIX}php-$*-fpm" "bref/${CPU_PREFIX}php-$*-console" \
8182
"bref/${CPU_PREFIX}build-php-$*" "bref/${CPU_PREFIX}php-$*-fpm-dev"; \

0 commit comments

Comments
 (0)