Skip to content

Commit 8d76042

Browse files
authored
Merge pull request #252 from brefphp/fail-on-docker-push-error
Fail the job on Docker push error
2 parents 6288e8a + 67326cf commit 8d76042

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)