Skip to content

Commit 8a0e975

Browse files
committed
Fix that allows error message to be displayed properly
As per a support ticket. Before this fix, the error message from line 81 was never shown because of `set -u` on line 2.
1 parent ffd596e commit 8a0e975

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ done
7777

7878
# single image build
7979
for service_alias in $(plugin_read_list BUILD_ALIAS) ; do
80-
if [ -z "${BUILDKITE_PLUGIN_DOCKER_COMPOSE_PUSH}" ]; then
80+
if [ -z "${BUILDKITE_PLUGIN_DOCKER_COMPOSE_PUSH:-}" ]; then
8181
echo "+++ 🚨 You can not use build-alias if you are not pushing a single service"
8282
exit 1
8383
fi

0 commit comments

Comments
 (0)