diff --git a/dk b/dk index 5b6b414..37d67eb 100755 --- a/dk +++ b/dk @@ -265,9 +265,9 @@ function docker_set_deploy_args() { fi if [ -n "$PROFILE" ]; then if [ -n "$USE_STACK" -a -f "docker-stack.$PROFILE.yml" ]; then - replace_env_args+=(-c "docker-stack.$PROFILE.yml") + replace_deploy_args+=(-c "docker-stack.$PROFILE.yml") elif [ -f "docker-compose.$PROFILE.yml" ]; then - replace_env_args+=(-c "docker-compose.$PROFILE.yml") + replace_deploy_args+=(-c "docker-compose.$PROFILE.yml") fi fi