Skip to content

Commit

Permalink
fix: use prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
astappiev committed Jan 29, 2023
1 parent 57f8037 commit bb66957
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ remote_cleanup=""
remote_registry_login=""
remote_docker_exec="docker compose -f \"$DOCKER_COMPOSE_FILENAME\" up $DOCKER_ARGS"
if [ -n "$DOCKER_COMPOSE_PREFIX" ]; then
remote_docker_exec="$remote_docker_exec -p \"$DOCKER_COMPOSE_PREFIX\""
remote_docker_exec="docker compose -f \"$DOCKER_COMPOSE_FILENAME\" -p \"$DOCKER_COMPOSE_PREFIX\" up $DOCKER_ARGS"
fi
if $DOCKER_USE_STACK ; then
remote_path="\$HOME/$WORKSPACE/$DOCKER_COMPOSE_PREFIX"
Expand All @@ -128,8 +128,7 @@ tar -C \"$remote_path\" -xjv;
$remote_cleanup
$remote_registry_login
log 'Launching docker compose...';
log 'Command \"$remote_docker_exec\"';
log 'Launching docker compose... \"$remote_docker_exec\"';
cd \"$remote_path\";
$DOCKER_ENV $remote_docker_exec"

Expand Down

0 comments on commit bb66957

Please sign in to comment.