Skip to content

Commit

Permalink
fails when docker exec command fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ofekshenawa committed Jan 3, 2024
1 parent 96c72e0 commit f3887ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash

set -e

if [[ -n "${DOCKER_ACCESS_TOKEN}" ]]; then
echo $DOCKER_ACCESS_TOKEN | docker login --username=$DOCKER_USERNAME --password-stdin
fi

## Build infrastructure ##
docker-compose up -d
docker-compose up -d --abort-on-container-exit
sleep 10

## Create cluster ##
Expand Down

0 comments on commit f3887ad

Please sign in to comment.